Hmm... it's a library, so.. the first thing I'd try is
adding /usr/local/iodbc/lib/ to /etc/ld.so.conf
then type 'ldconfig'
When it returns, try recompiling.
-=Ron=-
-----Original Message-----
From: Hans Schneidhofer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 10, 2000 2:22 PM
To: [EMAIL PROTECTED]
Subject: [expert] cannot open shared object file ...
hi,
got a newone problem with "cannot open shared object file :
<=== src/ap
===> src/main
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite `../apaci` gen_test_char.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite `../apaci` -o
gen_test_char gen_test_char.o -Wl,-rpath,/usr/local/mysql/lib/mysql
-Wl,-rpath,/usr/local/lib -L/usr/local/mysql/lib/mysql -lmysqlclient
-L/usr/local/lib -lexpat -Lmodules/php3 -L../modules/php3
-L../../modules/php3
-lmodphp3 -L/usr/local/iodbc/lib -liodbc
-lpam -lm -ldl -lcrypt -lresolv -lm -lcrypt -lgdbm
./gen_test_char >test_char.h
./gen_test_char: error in loading shared libraries: libiodbc.so.2: cannot
open
shared object file: No such file or directory
make[3]: *** [test_char.h] Error 127
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/apache_1.3.9/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/apache_1.3.9'
make: *** [build] Error 2
this is the message after trying to compile apache with libiodbc.
Anybody there, who is knowing about this errormessage ?
My libiodbc.so.2 is in /usr/local/iodbc/lib/libiodbc.so.2.
Have I to set a EnvironmentVariable or to integrade the lib with lib.so.conf
?
Thanks in advance for every helping step
bye
hans schneidhofer