libtool 1.5.22_2 issues

ansi

Verified User
Joined
Sep 29, 2005
Messages
17
Location
Auckland
I was wonderng if anyone could assist with this libtool issue I appear to have on my FreeBSD5.4 server

I appear to have 2 copies but yet my ports tree only has libtool-1.5.22_2 now which refers to the libtool --version snap shot I took below, so it appears I still have a duplicate in the file system for 1.5.10.. I did a pkgdb -F to clean up the duplicates and removed libtool-1.5.10_1 as shown below aswell as libtool-1.3.5_2

======
BEFORE
======
02:27 PM[root@colo /usr/local/bin ]pkg_info | grep libtool
libtool-1.3.5_2 Generic shared library support script (1.3)
libtool-1.5.10_1 Generic shared library support script (version 1.5)
libtool-1.5.22_2 Generic shared library support script

=====
AFTER
=====
02:36 PM[root@colo /usr/local/bin ]pkg_info | grep libtool
libtool-1.5.22_2 Generic shared library support script

============
This is what I did
============

02:28 PM[root@colo /usr/local/bin ]pkgdb -F
---> Checking the package registry database
Stale origin: 'devel/libtool13': perhaps moved or obsoleted.
-> The port 'devel/libtool13' was removed on 2006-02-23 because:
"Remove defunct libtool"
-> Hint: libtool-1.3.5_2 is not required by any other package
-> Hint: checking for overwritten files...
-> No files installed by libtool-1.3.5_2 have been overwritten by other packages.
Deinstall libtool-1.3.5_2 ? [no] yes
---> Deinstalling 'libtool-1.3.5_2'
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 190 packages found (-1 +0) (...) done]
--> Done.


02:35 PM[root@colo /usr/local/bin ]pkgdb -F
Duplicated origin: devel/libtool15 - libtool-1.5.10_1 libtool-1.5.22_2
Unregister any of them? [no] yes
Unregister libtool-1.5.10_1 keeping the installed files intact? [no] yes
-> libtool-1.5.22_2 is kept.
--> Saving the libtool-1.5.10_1's +CONTENTS file as /var/db/pkg/libtool-1.5.22_2/+CONTENTS.libtool-1.5.10_1
--> Unregistering libtool-1.5.10_1
--> Done.

07:01 PM[root@colo /usr/local/bin ]ls -al | grep libtool
-r-xr-xr-x 1 root wheel 225583 Apr 9 2006 libtool => 1.5.22
-r-xr-xr-x 1 root wheel 210997 Sep 1 2005 libtool15 => 1.5.10
-r-xr-xr-x 1 root wheel 10776 Apr 9 2006 libtoolize
-r-xr-xr-x 1 root wheel 9993 Sep 1 2005 libtoolize15

06:17 PM[root@colo /usr/local/bin ]libtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)

06:17 PM[root@colo /usr/local/bin ]libtool15 --version
ltmain.sh (GNU libtool) 1.5.10 (1.1220.2.130 2004/09/19 12:13:49)

The reason why this is an issue for me is because I am trying to update curl from 7.13.0 to 7.15.3 and I am having some problems, you can see them below, I think my server is confused due to the duplicates in the file system of libtool

06:59 PM[root@colo /usr/local/directadmin/customapache ]./build curl

Done. Making curl-7.15.3...
Trying to make cURL...
Making all in lib
echo "/* This file is generated automatically */" > ../lib/ca-bundle.h
echo '#define CURL_CA_BUNDLE "/usr/local/share/curl/curl-ca-bundle.crt"' >> ../lib/ca-bundle.h
make all-am

if /usr/local/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I/usr/kerberos/include -g -O2 -MT file.lo -MD -MP -MF ".deps/file.Tpo" -c -o file.lo file.c; then mv -f ".deps/file.Tpo" ".deps/file.Plo"; else rm -f ".deps/file.Tpo"; exit 1; fi

libtool: compile: cannot determine name of library object from `'
*** Error code 1

Stop in /usr/local/directadmin/customapache/curl-7.15.3/lib.
*** Error code 1

Stop in /usr/local/directadmin/customapache/curl-7.15.3/lib.
*** Error code 1

Any ideas and tips would be much appreciated :)

Thanks
 
Last edited:
Back
Top