-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Czanik wrote:
> Hello,
> 
> The two ports seem to have the same problem: not finding the installed
> Firebird 2.0 libraries:
> 
> v12# uname -a
> FreeBSD v12.fa.gau.hu 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct 
> 1 07:51:58 UTC 2008    
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64
> v12# pwd
> /usr/ports/databases/php5-pdo_firebird
> v12# make
> ===>   php5-pdo_firebird-5.2.6_2 depends on file:
> /usr/local/include/php/main/php.h - found
> ===>   php5-pdo_firebird-5.2.6_2 depends on file: /usr/local/bin/phpize
> - found
> ===>   php5-pdo_firebird-5.2.6_2 depends on file:
> /usr/local/lib/php/20060613/pdo.so - found
> ===>   php5-pdo_firebird-5.2.6_2 depends on file:
> /usr/local/bin/autoconf-2.62 - found
> ===>   php5-pdo_firebird-5.2.6_2 depends on shared library: fbclient.2.0
> - not found
> ===>    Verifying install for fbclient.2.0 in
> /usr/ports/databases/firebird20-client
> ===>   firebird-client-2.0.3_2 depends on executable: gmake - found
> ===>   firebird-client-2.0.3_2 depends on executable: bison - found
> ===>   firebird-client-2.0.3_2 depends on file:
> /usr/local/bin/automake-1.9 - found
> ===>   firebird-client-2.0.3_2 depends on file:
> /usr/local/bin/autoconf-2.62 - found
> ===>   firebird-client-2.0.3_2 depends on file: /usr/local/bin/libtool -
> found
> ===>   firebird-client-2.0.3_2 depends on shared library: icuuc - found
> ===>  Configuring for firebird-client-2.0.3_2
> ^C
> v12# ls -l /usr/local/lib/libfbclient.so*
> lrwxr-xr-x  1 root  wheel      20 Nov 26 13:47
> /usr/local/lib/libfbclient.so -> libfbclient.so.2.0.3
> lrwxr-xr-x  1 root  wheel      20 Nov 26 13:47
> /usr/local/lib/libfbclient.so.2 -> libfbclient.so.2.0.3
> lrwxr-xr-x  1 root  wheel      20 Nov 26 13:47
> /usr/local/lib/libfbclient.so.2.0 -> libfbclient.so.2.0.3
> -r--r--r--  1 root  wheel  613756 Nov 26 13:47
> /usr/local/lib/libfbclient.so.2.0.3
> 
> Bye,
> CzP
> 

Hi Peter,

The Firebird database server and client directories were recently
renamed in the ports tree, and some tweaks were made to
/usr/ports/Mk/bsd.database.mk, which controls the LIB_DEPENDS list.

I reproduced the problem you reported, and I fixed it by reverting this
recent change to /usr/ports/Mk/bsd.database.mk:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.database.mk.diff?r1=1.30;r2=1.31

The problem is that the ports system uses ldconfig to determine if a
shared library is installed, and it doesn't find "libfbclient.2.0", but
finds "libfbclient.2" instead.

To verify my assumption, please try this command on your machine:

ldconfig -r | grep fbclient

I see this:

471:-lfbclient.2 => /usr/local/lib/libfbclient.so.2

Since "-lfbclient.2" is reported instead of "-lfbclient.2.0", the
Firebird client will be rebuilt, even though the libraries are present.

I have cc'd the committer on this message so he can have a look.  I
don't want to mess with anything in the Mk/ directory of the ports tree,
since there might be something else going on that I'm not aware of.

Best regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/       - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJLWzI0sRouByUApARAr3vAJ9f8Lqa1+vW91K8YRQJwk+b45CgzACeJjwR
fu0IcjZjSxAj2N2rSG19aUQ=
=8LOZ
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to