vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi All I am working for porting across unix flavours. A shared library program using dlopen, dlsym etc worked on linux. But when I tried it on hp Unix 64 bit; it did not work. I tried with proper compiler options even. Firstly it gave me following error:- Error during dlopen(): '/lib/pa20_64/libpthread.1' contains a static TLS reference to '__thread_specific_seg' defined in a dynamically loaded library '/lib/pa20_64/libpthread.1'. Use +tls=dynamic to re-compile '/lib/pa20_64/libpthread.1'. Then I found somewhere that this error is due to some LD_PRELOAD environment variable.Finally I exported the variable as :- export LD_PRELOAD=/lib/pa20_64/libpthread.1 But it gave segmentation fault. When I tried it with gdb it gave following error :- Version of shared library /lib/pa20_64/libpthread.1 not understood. Please help me to solve the problem if possible for anyone. Thanks in Advance. |
| ||||
| In article <1154434214.873290.144690@i42g2000cwa.googlegroups .com>, chets <gautamchetana1982@gmail.com> wrote: > I am working for porting across unix flavours. A shared library > program using dlopen, dlsym etc worked on linux. But when I tried it on > hp Unix 64 bit; it did not work. I tried with proper compiler options > even. Firstly it gave me following error:- > > Error during dlopen(): '/lib/pa20_64/libpthread.1' contains a static You may want to try the HP/UX USENET newsgroup at comp.sys.hp.hpux. This newsgroup is for IBM's AIX, which is a different UNIX OS and a different vendor. I'd offer suggestions if I could, but unfortunately, I know next to nothing about HP/UX other than it has LVM, runs on PA and now Itanium processors. -Dan |