[Bug 1032639] Re: can not link against libxml2

2013-09-14 Thread Dmitrijs Ledkovs
This is an intentional toolchain change, which brings significant benefits and features to Ubuntu. Similar changes are adopted by other distributions such as Debian and Fedora. Here are further details: https://wiki.debian.org/ToolChain/DSOLinking http://fedoraproject.org/wiki/UnderstandingDSOLin

[Bug 1032639] Re: can not link against libxml2

2013-09-13 Thread whitis
This unacceptable change in the linker has the potential to break many packages. Especially when: cc=gcc $(include) $(libs) prog1: prog1.c -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1032639 Tit

[Bug 1032639] Re: can not link against libxml2

2012-09-07 Thread marc...@gmail.com
I had the same problem when compiling libxenserver-6.0.0-1-src. The solution was the same as above, i.e. changing the line 65 of the Makefile like this: $(CC) $(LDFLAGS) -o $@ $< -L . -lxenserver becomes: $(CC) -o $@ $< -L . -lxenserver $(LDFLAGS) Then the compilation worked jus

[Bug 1032639] Re: can not link against libxml2

2012-08-03 Thread Jason Conti
Thanks for the bug report. With the changes to the linker in 11.10+, you must be sure when compiling to specify the -llibrary arguments after the objects that reference them. In the case above: gcc -o main $(xml2-config --cflags --libs) main.o should be: gcc -o main main.o $(xml2-config --cflag

[Bug 1032639] Re: can not link against libxml2

2012-08-03 Thread Philipp Rosenberger
Ubuntu version is 12.04 as amd64 and as x86. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1032639 Title: can not link against libxml2 To manage notifications about this bug go to: https://bugs.lau