Hi Matt,

On Sat, Jan 26, 2013 at 8:04 PM, Matt Rice <[email protected]> wrote:

> most likely you just need to add -lcairo to hello_opal,
> there has been a change in behavior of gnu ld such that something that
> references a library
> must link to it explicitly, regardless whether something has linked to
> it already.
>
> http://sourceware.org/bugzilla/show_bug.cgi?id=10238
> http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
>
> most likely your distribution has this newer ld, while his does not.
>

Thanks for the tip! It's an interesting change. Sadly, I already do
explicitly link with Cairo. Relevant line from the GNUmakefile for the
Tests/ folder:
ADDITIONAL_LDFLAGS += $(shell pkg-config --libs cairo)

Just to be safe...
ivucica@ivucica-MacBook:~/gnustep-quartzcore-hgsvn/Tests$ pkg-config --libs
cairo
-lcairo

Which LD do I have?
ivucica@ivucica-MacBook:~/gnustep-quartzcore-hgsvn/Tests$ ld -v
GNU ld (GNU Binutils for Ubuntu) 2.22

Also, we should be having the same distribution considering this is a build
for Precise, and I'm testing on Precise (12.04). :-)

Also, just to note: considering that this is the machine I worked on to
write the software, something is broken either in my system, or in the
packages. I believe it's in my system, but would love to verify. So if
Philippe could just try running the demos on his machine, that'd be enough
for me.

If it is my local problem and I can't figure out what's wrong, I guess I'll
simply fix things the Windows way: reinstall. :-)
-- 
Ivan Vučica - [email protected]
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to