[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: 2.2.11 won't run?



> Maybe I'm confused, but isn't that what the LDFLAGS are for?
>
> armbrust@mir04==> /usr/local/openldap-2.2.11/libexec>ldd slapd
>         libdb-4.2.so => not found
>         libresolv.so.2 => /lib/libresolv.so.2 (0x40027000)
>         libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40039000)
>         libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> armbrust@mir04==> /usr/local/openldap-2.2.11/libexec>locate libdb-4.2.so
> /usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so
> /installers/db-4.2.52/build_unix/.libs/libdb-4.2.so
> armbrust@mir04==> /usr/local/openldap-2.2.11/libexec>echo $LDFLAGS
> -L/usr/local/BerkeleyDB.4.2/lib
> armbrust@mir04==> /usr/local/openldap-2.2.11/libexec>
>
>
> And the LDFLAGS were set at the time of configuring/building.

LDFLAGS is for build time (in fact you built fine); LD_LIBRARY_PATH (may
differ on certain systems) is for run-time.

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it