bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch for libtool-1.4.3_2


From: Sergey Trubin
Subject: Patch for libtool-1.4.3_2
Date: Tue, 16 Dec 2003 15:21:14 +0300 (MSK)

I have encountered a problem processing shared libraries.
My system is:

address@hidden ~} uname -a
FreeBSD guru.softsila.local 4.9-RC FreeBSD 4.9-RC #0: Thu Oct 23 23:32:42 MSD 
2003     address@hidden:/usr/obj/usr/src/sys/CVS  i386

including port-installed libtool-1.3.5_1 and libtool-1.4.3_2.

Attempt at installing from openldap-server ports

address@hidden ~} cd /usr/ports/net/openldap21-server/
address@hidden /usr/ports/net/openldap21-server} make  WITH_ODBC=yes 
WITH_ODBC_TYPE=iODBC install clean

yield the following error:

/bin/sh /usr/local/libexec/libtool14/libtool --mode=link  cc  -O -pipe  
-L/usr/local/lib -rpath=/usr/local/lib   -o slapd main.o daemon.o connection.o 
search.o filter.o add.o cr.o  attr.o entry.o config.o backend.o result.o 
operation.o  dn.o compare.o modify.o delete.o modrdn.o ch_malloc.o  value.o 
ava.o bind.o unbind.o abandon.o filterentry.o  phonetic.o acl.o str2filter.o 
aclparse.o init.o user.o  repl.o lock.o controls.o extended.o kerberos.o 
passwd.o  schema.o schema_check.o schema_init.o schema_prep.o  schemaparse.o 
ad.o at.o mr.o syntax.o oc.o saslauthz.o  oidm.o starttls.o index.o sets.o 
referral.o  root_dse.o sasl.o module.o mra.o mods.o  limits.o backglue.o 
operational.o matchedValues.o cancel.o   version.o libbackends.a 
../../libraries/libavl/libavl.a ../../libraries/libldbm/libldbm.a  
../../libraries/liblunicode/liblunicode.a 
../../libraries/librewrite/librewrite.a  ../../libraries/libldif/libldif.a 
../../libraries/liblutil/liblutil.a  ../../libraries/libldap_r/libldap_r.la 
../../libraries/liblber/liblber.la     -lssl -lcrypto  -lfetch -lcom_err  
-ldb41 -pthread  -lwrap -iodbc
libtool: cannot find the library `'

If -liodbc is removed from the command line, libtool is correctly executed.

-liodbc is the only library with libtool library file /usr/local/lib/libiodbc.la

I have introduced some changes to the libtool14 code which allowed me to 
correctly install openldap-server. I have checked how the changed libtool works 
and there have been no errors.

Attached is my patch for libtool-1.4.3_2

Maybe you will find the patch incompatible since I haven't yet figured out how 
libtool operates globally but I am sure it will help you improve your code.

 Sergey Trubin
address@hidden

Attachment: patch-libtool14
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]