On Dec 6, 2006, at 12:01 PM, Paul Salazar wrote:

Par Keepers,

I am building an app on a Fedora 4 system and testing on a Fedora 5 system. I am linking in libdb and all works fine on the FC4 sys, but on the FC5 system I get the following error:

       DB_File needs compatible versions of libdb & db.h
           you have db.h version 4.3.27 and libdb version 4.3.29

I checked and the FC4 system is using libdb 4.3.27 and the FC5 is using 4.3.29 which forces me to conclude that my lib from the FC4 system is not being linked into the executable. I am linking in libdb using the following command:

       pp --link=libdb -o out.exe source.pl <cr>

using the -vvv switch I am seeing the lib included in the output:

/usr/bin/pp: ... adding /usr/lib/../../lib/libdb-4.3.so as shlib/i686-linux/libdb-4.3.so

when i run the app, i looked in '/tmp/cache-lotsofcharsdir/' and found libdb-4.3.so there, but when i went to ''/tmp/cache-lotsofcharsdir/inc/shlib/i686-linux', libdb-4.3.so was not there.

Please advise?

regards,
Paul Salazar

Paul,

What version of PAR? As of a few versions ago, there was a problem with trying to pull in symlinked .so files. I had written an FAQ entry about it at the URL below. It's no longer in the FAQs so I assume that it has been fixed in recent versions.

http://search.cpan.org/~smueller/PAR-0.94/lib/PAR/ FAQ.pod#My_PAR_executable_needs_some_dynamic_libraries

Chris


--
Chris Dolan, Software Developer, Clotho Advanced Media Inc.
608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703
vCard: http://www.chrisdolan.net/ChrisDolan.vcf

Clotho Advanced Media, Inc. - Creators of MediaLandscape Software (http://www.media-landscape.com/) and partners in the revolutionary Croquet project (http://www.opencroquet.org/)


Reply via email to