The Wednesday 2004-10-06 at 23:56 -0700, Bob Carpenter wrote:
Carlos E. R. wrote
You probably don't have libdb installed, package db-devel.
Is db-devel the same as MySQL-devel-4.0.21-0.i386?
No. db-devel is db-devel, obviously.
What's the best way to tell if libdb is installed? Here's the result of a "whereis":
---------- linux:~/install_files # whereis libdb libdb: /usr/lib/libdb1.a /usr/lib/libdb2.a /usr/lib/libdb1.so /usr/lib/libdb2.so ----------
Yes, you have libdb installed, as needed for a program that uses it. But, you do not have the files needed for compilation of a program using libdb. I'll try to clarify. The last few lines of the compilation - the rest are not needed here - say: ../../lib/libutil.a -L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lm -L/us r/lib -lpcre -ldb -lnsl -lresolv /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -ldb collect2: ld returned 1 exit status make: *** [master] Error 1 make: *** [update] Error 1 The error is "cannot find -ldb". That means library 'db', ie, libdb. Then search for it, using command "pin libdb", for example. You should know that SuSE distributes the development files needed to compile things in rpms of the name package-devel*rpm. Note: before compiling a requested library yourself, first make sure that it is not supplied by SuSE, or you will get into problems by installing a different version of the one required by other programs on your system. If you don't know what package provides certain file, search for it using "pin". Then install it using Yast. So... on another post you put this log - only these few lines are sufficient, not the whole 15000 bytes you emailed: -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv -L/usr/li b -lpcre -ldb -lnsl -lresolv /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lnss_files collect2: ld returned 1 exit status make: *** [master] Error 1 make: *** [update] Error 1 Ok, you should yourself be able determine what is needed. It is on the CD, I checked. -- Cheers, Carlos Robinson