[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-devtools
Subject:    Re:  HPUX-DEVTOOLS: Problem with Shared library
From:       Dennis Handly <dhandly () cup ! hp ! com>
Date:       2000-09-12 6:16:19
[Download RAW message or body]

>aCC -b -Wl,-B,immediate,-B,nonfatal -l++ -lCsup -lc
>/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local
>Storage: /usr/lib/libc.2
Venu.

You must NOT put -lc on shared libs.  It only belongs on the a.out.
If the a.out was linked archive, you must relink it shared.

You also can't have -l++ on your shared lib, since it isn't PIC.
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE hpux-devtools
 _________________________________________________________________

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic