[opensuse-programming] libXau-devel and missing libXau.la
Hello all, Not sure if this is the right list to mention this so if it isn't, perhaps someone can enlighten me :) I am using openSUSE 10.3 with Xorg 7.3 from the repo: http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_10.3/ When I compile source that uses libtool, I get a linking error saying that libXau.la cannot be found. If I downgrade to xorg-X11-libXau 7.2-54 (from suse-oss repo) I can link without any problems. I checked the contents of the 7.3 rpm for libXau-devel and in fact, libXau.la is missing. The file is present in the 7.2 rpm though. Is this a bug in the libXau-devel 7.3 rpm? If not, how can I convince libtool to be quiet? ;) I don't directly use libXau so I can only assume that some other library requires it? Also, is there any problems with having libXau 7.2 when I have Xorg 7.3? Thanks, Alvin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
On Wed, 12 Mar 2008 16:31:11 -0300, Alvin wrote:
Is this a bug in the libXau-devel 7.3 rpm?
No, we (Novell) removed .la on purpose.
If not, how can I convince libtool to be quiet? ;)
By checking the Makefile for where the request for libXau.la comes from and change that to directly use -lXau.If you don't succeed, post the URL to the package and I'll check it. Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
On Wednesday 12 March 2008 20:35:14 Philipp Thomas wrote:
On Wed, 12 Mar 2008 16:31:11 -0300, Alvin wrote:
Is this a bug in the libXau-devel 7.3 rpm?
No, we (Novell) removed .la on purpose.
If not, how can I convince libtool to be quiet? ;)
By checking the Makefile for where the request for libXau.la comes from and change that to directly use -lXau.If you don't succeed, post the URL to the package and I'll check it.
Philipp
The problem is that I have come across this error from two KDevelop projects (both managed by Automake). The first being tweaK: http://www.kde-apps.org/content/show.php/tweaK?content=51170 The second is a program I made awhile back using KDevelop. In both cases, ./configure passes and the programs compile. They both fail at the linking. Perhaps I need to change something in the Makefile.in or configure.in? Or should I email the kdevelop mailing list and see if there is something that needs to be changed in kdevelop so that it does not use libXau.la and instead uses -lXau? Alvin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
Philipp, After some more digging I have found the cause of the mysterious libXau.la dependancy in my project. I use SDL, SDL_image, SDL_gfx and SDL_ttf in my project. After doing: $ grep libXau.la /usr/lib/*.la I see that the .la files for those libraries reference /usr/lib/libXau.la (so does SDL_mixer and libX11 but I don't use SDL_mixer and leaving libX11.la alone seemed to be ok so far). Going with your suggestion, I replaced the occurrence of /usr/lib/libXau.la (in those .la files that I use) with -lXau. Now my program links and runs fine. So, does this mean that the SDL rpms need to be rebuilt to reflect the Xorg 7.3 rpms? Alvin On Wed, Mar 12, 2008 at 10:35 PM, Alvin <alvinbeach@gmail.com> wrote:
On Wednesday 12 March 2008 20:35:14 Philipp Thomas wrote:
On Wed, 12 Mar 2008 16:31:11 -0300, Alvin wrote:
Is this a bug in the libXau-devel 7.3 rpm?
No, we (Novell) removed .la on purpose.
If not, how can I convince libtool to be quiet? ;)
By checking the Makefile for where the request for libXau.la comes from and change that to directly use -lXau.If you don't succeed, post the URL to the package and I'll check it.
Philipp
The problem is that I have come across this error from two KDevelop projects (both managed by Automake).
The first being tweaK: http://www.kde-apps.org/content/show.php/tweaK?content=51170
The second is a program I made awhile back using KDevelop.
In both cases, ./configure passes and the programs compile. They both fail at the linking.
Perhaps I need to change something in the Makefile.in or configure.in? Or should I email the kdevelop mailing list and see if there is something that needs to be changed in kdevelop so that it does not use libXau.la and instead uses -lXau?
Alvin
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
On Thu, 13 Mar 2008 13:33:58 -0300, Alvin Beach wrote:
After some more digging I have found the cause of the mysterious libXau.la dependancy in my project. I use SDL, SDL_image, SDL_gfx and SDL_ttf in my project. After doing: $ grep libXau.la /usr/lib/*.la
I thought something like that. Normally the .la files are pulled in either by other .la files or via .pc files, i.e. the output of pkg_config.
So, does this mean that the SDL rpms need to be rebuilt to reflect the Xorg 7.3 rpms?
Yes, as during that rebuild libtool will create SDL*.la files with correct references. BTW, if these are SuSE SDL packages, I'd suggest that you file a bug at https://bugzilla.novell.com so that the packages might get updated. If you do so, add pth@novell.com as CC to the bug. Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
On Friday 14 March 2008 07:09:13 Philipp Thomas wrote:
On Thu, 13 Mar 2008 13:33:58 -0300, Alvin Beach wrote:
After some more digging I have found the cause of the mysterious libXau.la dependancy in my project. I use SDL, SDL_image, SDL_gfx and SDL_ttf in my project. After doing: $ grep libXau.la /usr/lib/*.la
I thought something like that. Normally the .la files are pulled in either by other .la files or via .pc files, i.e. the output of pkg_config.
So, does this mean that the SDL rpms need to be rebuilt to reflect the Xorg 7.3 rpms?
Yes, as during that rebuild libtool will create SDL*.la files with correct references. BTW, if these are SuSE SDL packages, I'd suggest that you file a bug at https://bugzilla.novell.com so that the packages might get updated. If you do so, add pth@novell.com as CC to the bug.
Philipp
My SDL (and variants) come from either the suse-oss or the openSUSE 10.3 update repos. I'll file a bug report shortly. However, would updating the SDL .la files effect users who use the stock Xorg 7.2 that comes with openSUSE 10.3? Cheers, Alvin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
On Fri, Mar 14, 2008 at 7:59 AM, Alvin <alvinbeach@gmail.com> wrote:
On Friday 14 March 2008 07:09:13 Philipp Thomas wrote:
[snip] [snip] BTW, if these are SuSE SDL packages, I'd suggest that you file a bug at https://bugzilla.novell.com so that the packages might get updated. If you do so, add pth@novell.com as CC to the bug.
I'll file a bug report shortly. However, would updating the SDL .la files effect users who use the stock Xorg 7.2 that comes with openSUSE 10.3?
I have filed a bug report: https://bugzilla.novell.com/show_bug.cgi?id=371041 Thanks, Alvin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
participants (3)
-
Alvin
-
Alvin Beach
-
Philipp Thomas