Hi.
When Compiling Caudium 1.2.8 under FreeBSD 4.8 make also attempted - and failed - to compile Pike. The compile fails with the following error message: [...] /sbin/ldconfig -m /usr/local/lib ===> Registering installation for gdbm-1.8.3 ===> Returning to build of pike72cvs-7.2.380_1 Error: shared library "gdbm.2" does not exist *** Error code 1
I'm wondering what I can do in order to successfully complete the compile.
A more complete excerpt of the compilation log follows below (parts I skipped are indicated using [...]):
[...] ===> Extracting for pike72cvs-7.2.380_1
Checksum OK for pike-7.2.380.tar.gz.
===> Patching for pike72cvs-7.2.380_1 ===> Applying FreeBSD patches for pike72cvs-7.2.380_1 ===> pike72cvs-7.2.380_1 depends on executable: bison - found ===> pike72cvs-7.2.380_1 depends on executable: nasm - found ===> pike72cvs-7.2.380_1 depends on executable: gmake - found ===> pike72cvs-7.2.380_1 depends on shared library: gmp.6 - found ===> pike72cvs-7.2.380_1 depends on shared library: jpeg.9 - found ===> pike72cvs-7.2.380_1 depends on shared library: tiff.4 - found ===> pike72cvs-7.2.380_1 depends on shared library: gdbm.2 - not found ===> Verifying install for gdbm.2 in /usr/ports/databases/gdbm
If you need UNIX dbm/ndbm compatibility functions, use "make WITH_COMPAT=yes"
===> Extracting for gdbm-1.8.3
Checksum OK for gdbm-1.8.3.tar.gz.
===> Patching for gdbm-1.8.3 ===> Applying FreeBSD patches for gdbm-1.8.3 ===> gdbm-1.8.3 depends on executable: gmake - found ===> gdbm-1.8.3 depends on executable: libtool - found ===> Configuring for gdbm-1.8.3 [...] checking host system type... i386-unknown-freebsdelf4.8 [...] /usr/bin/install -c -o root -g wheel -c .libs/libgdbm.a /usr/local/lib/libgdbm.a ranlib /usr/local/lib/libgdbm.a chmod 644 /usr/local/lib/libgdbm.a /usr/bin/env OBJFORMAT="elf" /sbin/ldconfig -m /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib
If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- install -c -o root -g wheel -m 444 -o bin -g bin gdbm.h \ /usr/local/include/gdbm.h install -c -o root -g wheel -m 444 -o bin -g bin ./gdbm.3 \ /usr/local/man/man3/gdbm.3 install -c -o root -g wheel -m 444 -o bin -g bin ./gdbm.info \ /usr/local/info/gdbm.info ===> Generating temporary packing list ===> Compressing manual pages for gdbm-1.8.3 ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for gdbm-1.8.3 ===> Returning to build of pike72cvs-7.2.380_1 Error: shared library "gdbm.2" does not exist *** Error code 1
Stop in /usr/ports/lang/pike72cvs. *** Error code 1
Thanks for any help.
Elan
In the last episode (May 28), Editor said:
When Compiling Caudium 1.2.8 under FreeBSD 4.8 make also attempted - and failed - to compile Pike. The compile fails with the following error message:
[...] /sbin/ldconfig -m /usr/local/lib ===> Registering installation for gdbm-1.8.3 ===> Returning to build of pike72cvs-7.2.380_1 Error: shared library "gdbm.2" does not exist *** Error code 1
Please update your ports tree. The pike72 port currently builds 7.2.492 and depends on gdbm.3
pike-devel@lists.lysator.liu.se