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

List:       hpux-cxx-dev
Subject:    Re:  CXX-DEV: UnsatisfiedLinkError when loading a library.
From:       Dennis Handly <dhandly () cup ! hp ! com>
Date:       2000-11-29 6:59:54
[Download RAW message or body]

>The shared library was created using the the following command line
>cc -Ae +u4 +z -D_POSIX_C_SOURCE=199506L +DAportable +DS1.0
                                                     ^^^^^^
You should should NOT be using +DS1.0 unless you want the application to
run the slowest on all machines.  Use +DS2.0.

>aCC -b -o libConfReader.sl OVSnmpConfReader.o

You should NOT be using aCC to create shared libs if you don't have
any aC++ sources.  Otherwise you need to link in all of the aC++ runtime.

>with the shared library being created using 'cc'.
Gokul.

Use ld -b to create C shared libs.
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE cxx-dev
 _________________________________________________________________

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

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