Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#4504 closed enhancement (fixed)

Bug in latest version of Imlib2

Reported by: Chris Staub Owned by: Igor Živković
Priority: high Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:


In Imlib2 1.4.6, currently in BLFS, the imlib2-config script has a variable called @my_libs@, which is presumably supposed to be replaced by something else during the build (in my system with Imlib2 1.4.5, it's simply blank). However, in 1.4.6, the imlib2-config script is the only reference to that variable - it is never replaced with anything. This causes problems with any package that tries to link to Imlib2 using that script (as I found out when trying to build Fluxbox), as it will cause the literal string "@my_libs@" to be added to the compile command, resulting in errors from GCC as it has no idea what "@my_libs@" is.

I'm not sure what the proper solution would be here - the fact that all other references to that variable are gone probably means it shouldn't exist at all anymore, but I can't be certain. As I said, in my build with version 1.4.5 it ends up being empty anyway, so it might not hurt just to remove it entirely, though I'd probably suggest just reverting the version change and going back to 1.4.5 until a patch or new version is released.

Change History (4)

comment:1 by Igor Živković, 10 years ago

Owner: changed from blfs-book@… to Igor Živković
Priority: normalhigh
Status: newassigned

comment:2 by Igor Živković, 10 years ago

Looking at the 1.4.5 code, my_libs variable should contain all the libraries that libImlib2 links to. I don't think that is necessary so I'm just going to remove it from

comment:3 by Igor Živković, 10 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r12484, thanks for the report.

comment:4 by bdubbs@…, 10 years ago

Milestone: current

Milestone current deleted

Note: See TracTickets for help on using tickets.