Help: linker reports undefined symbols in libserver.a of oracle 8.0.4

Help: linker reports undefined symbols in libserver.a of oracle 8.0.4

Post by Bo X » Sun, 31 Dec 1899 09:00:00

On SunOS 5.5.1, I tried to link to oracle 8.0.4 libraries,
but the linker reports there are many symbols undefined in libserver.a.  

The relevant environment variables were set up as follows:
LIBS += -lclient -lnetwork -lserver -lcore4  ...

Any suggestions will be appreciated.



1. HELP: undefined symbol: dlclose, dlsym, dlopen !!!

Hi !

Any Unix C++ makefile experts out there ? :-)

I use CC under Solaris and trying to compile two
*.cc files. ( = main program) and (= just a function) I tries also
to include the CT-LIB/C for Sybase.

My makefile produce both the bench.o and querytest.o
but not my bench program. hmmmm

Any clues what my makefile miss with this error

<unix prompt>make
CC -c  +w -I. -I/sybase/include -Bstatic -pg -L/sybase/lib -lct
-lcs -lcomn -lintl -ltcl -ltli -lnsl -lblk -o bench.o
CC -c  +w -I. -I/sybase/include -Bstatic -pg -L/sybase/lib
-lct -lcs -lcomn -lintl -ltcl -ltli -lnsl -lblk -o querytest.o
CC -o bench bench.o querytest.o +w -I. -I/sybase/include -Bstatic -pg
-L/sybase/lib -lct -lcs -lcomn -lintl -ltcl -ltli -lnsl -lblk  
#/sybase/lib/libtcl.a /sybase/lib/libtli.a -lnsl
Undefined             first referenced
 symbol                   in file
dlclose                   /usr/lib/libc.a(nss_deffinder.o)
dlsym                     /usr/lib/libc.a(nss_deffinder.o)
dlopen                    /usr/lib/libc.a(nss_deffinder.o)
ld: fatal: Symbol referencing errors. No output written to bench
*** Error code 1
make: Fatal error: Command failed for target `bench'


????????? hmmmmmmmm If I exclude the file
it works .... hmmmm
#include <iostream.h>
#include <iomanip.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctpublic.h>
#include <stdio.h>
#include <ctpublic.h>

The example makefile:

Any help would be great ! :-) Thanks ! :-)

Erlend :-)

2. Dbase 5 need help please

3. Undefined symbol nauzaoss at Oracle 8.1.5

4. ADO command object timing out scenario

5. psql: relocation error: psql: undefined symbol: PQgetssl

6. Y2K Solution

7. MemoryContextFree - CREATE FUNCTION gives "undefined symbol"

8. How to control transaction using ADODB and Xorasession

9. undefined symbol in create new function

10. (blowfish in Postgres) Undefined symbol -- YAY!

11. Undefined symbol

12. unable to use pgSQL due to undefined symbol

13. DriverManager undefined symbols