[gstreamer-bugs] [Bug 350637] GStreamer won't build if libxml2 is not on the same dirs as other dependencies

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Aug 15 07:01:28 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=350637
 GStreamer | gstreamer (core) | Ver: HEAD CVS


Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thomas at apestaart.org




------- Comment #3 from Tim-Philipp Müller  2006-08-15 14:01 UTC -------
Thomas analysing the problem on IRC:

<thomasvs>      felipec: you know, your link line looks very fishy
<thomasvs>      felipec: it looks like you are not using libtool
<thomasvs>      felipec: the output is showing it's not linking in the proper
way
<thomasvs>      felipec: is there stuff you are customizing that you are not
telling me ?
<thomasvs>      also, you are not in fact showing me the output of configure
like I'm asking
<felipec>       thomasvs: oh, I thought you meant the config.log, let me get
that
<felipec>       thomasvs: I have libxml2 in a directory under /opt,
PKG_CONFIG_PATH is set accordingly
<thomasvs>      felipec: all of that does not explain why your link lines look
like they are not at all using libtool, hence getting the linking wrong
<thomasvs>      felipec: in a normal link line, I expect to see
libgstreamer-0.10.la, and -lglib, not libgstreamer-0.10.so and libglib.so
...
<thomasvs>      ok, please show me build output from before what you pasted, so
I can actually see make do stuff
<felipec>       thomasvs: there you go: http://pastebin.ca/123893
<thomasvs>      felipec: can I also see the make output for gst/ ? from that
output it looks like your libgstreamer-0.10.la file was not generated properly
<felipec>       thomasvs: this is the la file: http://pastebin.ca/123897
<thomasvs>      felipec: what's the content of
/data/EVM_filesystems/x0044659/systems/OMAPSW_Linux_8.7/target/opt/gstmmf-2.0/lib/libxml2.la
?
<felipec>       thomasvs: http://pastebin.ca/123902
<thomasvs>      felipec: where is your libxml2.so.2 file on the disk ?
<felipec>       thomasvs:
/data/EVM_filesystems/x0044659/systems/OMAPSW_Linux_8.7/target/opt/gstmmf-2.0/lib/libxml2.so.2
<thomasvs>      felipec: so, for some reason, in http://pastebin.ca/123893 --
the transition from line 61 (libtool) to 62 (ld) is going wrong
<thomasvs>      sorry, 60 to 61
<thomasvs>      felipec: it's libtool's job to go through the .la files and
make sure it satisfies the deps
<thomasvs>      felipec: none of the tools use xml directly, only libgstreamer
does
<thomasvs>      felipec: this dependency is correctly encoded into
libgstreamer-0.10.la
<felipec>       thomasvs: in general when I link I always have to add the -L
flags or otherwise ld won't find the library, I have never seen libtool do
that... but I know next to nothing about libtool
<thomasvs>      felipec: -L only tells about directories, and the directory
libxml is in is already on the link line
<felipec>       thomasvs: nope, libxml2 is in $PREFIX/opt/gstmmf-2.0/lib,
-L$PREFIX/opt/gstmmf-2.0/lib is not on the link line

If the information in libgstreamer-0.10.la is correct, maybe this is a libtool
problem of some sort?


Have you tried using _LIBS instead of _LDFLAGS for the tools in the tools
directory? Does that change anything?


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list