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
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
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
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
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