![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I am porting an application from Ingres II 2.5 on a Sun Sparc Solaris 2.6 machine to Ingres II 2.6 on a Sun Sparc Solaris 9 machine. When I try to build the application the follwing compile fails with the following symbol refencing conflicts between libingres.a(dlos.o) and libdl.so.1 [snip] |
#3
| |||
| |||
|
|
Hi, I am porting an application from Ingres II 2.5 on a Sun Sparc Solaris 2.6 machine to Ingres II 2.6 on a Sun Sparc Solaris 9 machine. When I try to build the application the follwing compile fails with the following symbol refencing conflicts between libingres.a(dlos.o) and libdl.so.1 COMPILE COMMAND: cc -w -o /users/itpdevel/revsuper/dev/deliv/loadcode/_exe/loadcode BS-5b95.c \ -I${TUXDIR}/include -L${TUXDIR}/lib loadcode.o tpwrap.o writerrs.o fmldef.o \ getopt.o objattr.o prefix.o codesvc.o str.o dataconv.o fmlfunc.o oroad.o sqldafn.o \ -L/software/tuxedo/tuxedo8.1/lib /software/itpdevingres/ingres/lib/libingres.a \ -lm -lc -lelf -ltux -lbuft -lfml -lfml32 -lengine -R/usr/lib/lwp -lpthread -lposix4 -lsocket -lnsl ERROR: Undefined first referenced symbol in file dlerror /software/itpdevingres/ingres/lib/libingres.a(dlos.o) (symbol belongs to implicit dependency /usr/lib/libdl.so.1) dlclose /software/itpdevingres/ingres/lib/libingres.a(dlos.o) (symbol belongs to implicit dependency /usr/lib/libdl.so.1) dlopen /software/itpdevingres/ingres/lib/libingres.a(dlos.o) (symbol belongs to implicit dependency /usr/lib/libdl.so.1) dlsym /software/itpdevingres/ingres/lib/libingres.a(dlos.o) (symbol belongs to implicit dependency /usr/lib/libdl.so.1) ld: fatal: Symbol referencing errors. No output written to /users/itpdevel/revsuper/dev/deliv/loadcode/_exe/loadcode QUESTIONS: Can anyone tell me how to avoid this conflict seeing as libdl.so.1 is an implicit dependency of the Sun Solaris linker and so beyond my control? If I exclude libigres.a and instead extract and link the various libraries can I do without dlos.o and if so what object files do I require for a program with simple database access such as connect, basic SQL, prepare and execute statements and cursors? Thanks, Damien. |
![]() |
| Thread Tools | |
| Display Modes | |
| |