Re: Undefined SSL symbols when linking against libgnomevfs

itoral igalia com wrote:
> Hi James,
>> Hi,
>> We're compiling GNOME on SXCE/SPARC using jhbuild with the intention of
> joining the GNOME Build Brigade [1].
> That would be nice.
>  The biggest blocker at the moment is
>> being linked against libssl, causing undefined symbol
> errors when linking binaries linked against
> [...]
>> This looks like the GNU ld vs Sun ld linker problem mentioned on
> and because
> is in
>> /usr/sfw/lib and no -L -R options are passed. I thought the way to deal
> with
>> this would be to edit gnome-vfs-2.0.pc and add -L/usr/sfw/lib
>> -R/usr/sfw/lib
>> to Libs, but I checked the gnome-vfs-2.0.pc file from
> SUNWgnome-vfs-devel and it doesn't have that in Libs, so I'm not sure
> what the correct solution
>> is, and how compiling against /usr/lib/ works.

I poked around the libraries with objdump, and found this difference:
00000000         *UND*  00000000              SSL_new
Sun built
00000000       F *UND*  00000000              SSL_new

The objdump manpage says F indicates the symbol is the name of a function,
and a space indicates it's "just a normal symbol". So I guess it's some
linker option that's causing this. The Sun build [1] adds "-Wl,-zignore
-Wl,-zcombreloc -Wl,-Bdirect" to LDFLAGS, is one of these what sets the
function flag?

> unfortunately I don't have any experience whatsoever compiling stuff for
> this environment, so I cannot point you to the right solution. I would
> send this question to a mailing list more subscribers, since that way you
> have a better chance to find someone with experience on this specific
> field. I think gnome-love could be a good place for that.

Ok, cc:ed gnome-love and opensolaris tools-discuss.


James Andrewartha

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]