opensubscriber
   Find in this group all groups
 
Unknown more information…

c : cyrus-devel@lists.andrew.cmu.edu 10 June 2012 • 7:42AM -0400

Re: Libtool and Support for Shared Libraries (3)
by Carson Gaspar

REPLY TO AUTHOR
 
REPLY TO GROUP




On 6/8/12 2:22 PM, Carson Gaspar wrote:
> If I have some time this weekend, I'll try building the dev/libtool
> branch and provide more feedback, as I install every package into it's
> own tree, so I will trigger any missing RPATH issues.

OK, so I just filed a bunch of bugs against cyrus-sasl and cyrus-imapd
(3704 - 3709). None of them are directly related to the libtool stuff,
just the usual cyrus build problems I've hacked around in the past, and
a few new ones introduced since the last tarball releases.

5ec9a749d3017a95d8e27bea1ce44f08b20c966b configured with:

./configure
--prefix=/Tools/SunOS_5.11_i86pc_amd64/cyrus-imapd-2.5.autofoo
--sysconfdir=/etc
--with-sasl=/Tools/SunOS_5.11_i86pc_amd64/cyrus-sasl-git-20120609
--with-cyrus-group=cyrus --with-cyrus-user=cyrus
--with-openssl=/Tools/SunOS_5.11_i86pc_amd64/openssl-1.0.1c
--with-cyrus-prefix=/Tools/SunOS_5.11_i86pc_amd64/cyrus-imapd-2.5.autofoo --with-dbdir=/Tools/SunOS_5.11_i86pc_amd64/db-5.3.21
CPPFLAGS=-I/usr/include/kerberosv5 LIBS=-lkrb5

followed by gmake && gmake install

Everything looks fine to me:

$ gfind
/Tools/SunOS_5.11_i86pc_amd64/cyrus-imapd-2.5.autofoo/lib/site_perl
-name '*.so' -print0 | gxargs -0 -I % dump -Lv % | fgrep RPATH
[10]    RPATH
/Tools/SunOS_5.11_i86pc_amd64/db-5.3.21/lib:/Tools/SunOS_5.11_i86pc_amd64/cyrus-sasl-git-20120609/lib:/Tools/SunOS_5.11_i86pc_amd64/openssl-1.0.1c/lib
[10]    RPATH
/Tools/SunOS_5.11_i86pc_amd64/db-5.3.21/lib:/Tools/SunOS_5.11_i86pc_amd64/cyrus-sasl-git-20120609/lib:/Tools/SunOS_5.11_i86pc_amd64/openssl-1.0.1c/lib

$ for f in /Tools/SunOS_5.11_i86pc_amd64/cyrus-imapd-2.5.autofoo/bin/*;
do dump -Lv "$f" 2>/dev/null | fgrep RPATH; done | cut -f2- -d'     ' |
sort -u
RPATH
/Tools/SunOS_5.11_i86pc_amd64/cyrus-imapd-2.5.autofoo/lib:/Tools/SunOS_5.11_i86pc_amd64/cyrus-sasl-git-20120609/lib:/Tools/SunOS_5.11_i86pc_amd64/db-5.3.21/lib
RPATH
/Tools/SunOS_5.11_i86pc_amd64/cyrus-imapd-2.5.autofoo/lib:/Tools/SunOS_5.11_i86pc_amd64/net-snmp-5.4.2.1/lib:/Tools/SunOS_5.11_i86pc_amd64/db-5.3.21/lib

(master is the one with snmp in its RPATH and without sasl)


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.