discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Ubuntu and Debian packages / 2013-01-25


From: Ivan Vučica
Subject: Re: Ubuntu and Debian packages / 2013-01-25
Date: Sat, 26 Jan 2013 20:35:59 +0100

Hi Matt,

On Sat, Jan 26, 2013 at 8:04 PM, Matt Rice <ratmice@gmail.com> 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 - ivan@vucica.net


reply via email to

[Prev in Thread] Current Thread [Next in Thread]