Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2002 21:10:18 +0100
From:      Bjoern Fischer <bfischer@Techfak.Uni-Bielefeld.DE>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   problem w/ dlopen(); bug or feature?
Message-ID:  <20020201201018.GB2992@frolic.no-support.loc>

next in thread | raw e-mail | index | archive | help

--ikeVEW9yuYc//A+q
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello there,

I have a problem with dlopen() on FreeBSD: When dlopen()ed
shared objects dlopen() a shared object themselves, the DT_RPATH,
that is hardcoded into the first dlopen()ed object is *not*
searched.

This can be easily demonstated with the tiny (0.8k) example
I attached to this mail.

The example works correctly on SunOS.

-Bj=F6rn


--ikeVEW9yuYc//A+q
Content-Type: application/x-tar-gz
Content-Disposition: attachment; filename="dlopen-test.tar.gz"
Content-Transfer-Encoding: base64

H4sIALD0WjwAA+1YbW/aMBDmK/4VN2BSUvGSpHmR6DqthU5CYtPEug/bmKo0cSBrSFAc0Kqp
/312QsBp6YsqoEz1IyR8x93lLhffY+IG0RSHjQSTpFXaEkBXLMOAEoBqGQr/nUMBsHTNNCxN
Myz6s6aaWgmMbSXEY0YSOwYoXf6OcBw+ZIdjsouEdguX6z+3bjobvIaqKKau39t/VVPMRf9N
S1F0qtFNg/Zf2WAO9+KV9x9V/dAJZi6Gd27gOWFz/J5TkcT1I6ZCyfUUu9iDeeS74EXRhTcL
HYlJ8hFCfpjAxPZDiS3seOTUwRnT23pA1/Ofv2T4ixBkvgfMeWyHboDrcHBpxwvhiBrkcVOj
I+biTWMa0pNoIjiO61A5j6/9cARJBNnTKskwrFDrJomGlWazWZHzQFlYOM4NF1aVOgzO+92L
/smP76mt74HE2x/D52/9PkuZPZx3EoCPJ73+Wbc9DN+SYUijUac4jmJJTqMB4D9+IqmpcAM4
IPieONEVdZfXVznAJArmrNC0OEku1pYWRa4nEn8vmWGFr2g/SunYQVAoZGXKZLq6Qeild8Hr
BT//aUO2cgZ4Bv9buiH4fxe43X82JDfJ/QyP8r9qLflfV1WqObRMU/D/LvAs/mesXeD//FSQ
KXi2LxJ87pjq1/NFxtJtWEv01KtI9KvwHNFnVmuJnrd/MjvmKW2RJfNL8MRPcy0QP5WXxL+q
gzpTocJXuJ+lrQ4Ci8KWLqksDgIvAn7+0z7sDf9rpuD/XeB2/9ns3DH/03brS/43NCvlf1UX
/L8LrCX7nOSlBZXfmekZw1KSHvsE6IfJi3Euhvh/BX7/f7KvsOcHeNPXeGz/W+rhcv6r6fw/
NC1L7P9dAFVRlb2rC0cYkjEmmJ247ek0juietxMMczuYYfKG2qFOp1w+hpHjoNOTr2fd3oCJ
rXE0waSV3b4WiR3+NTL60mM+qN877fbZopopoOHRBarmemgEboAQPSG2gXOHnJFIBPmfUxIh
5ATYDtuoHE9ooKc4rNTtpYmDyjWp05GhQcZ2jF2oSTQnKkZQ+8BZoVWg9jLow86NQU1a3CKZ
RVm5Ubu0ZhkhLu1C0Vzsu8HYa72CLRfwpR8lAQEBAQEBAQEBAQEBgT3GP0mD/28AKAAA

--ikeVEW9yuYc//A+q--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020201201018.GB2992>