Alter line in /etc/profile.d/vasm.sh

Issue #15 resolved
TheDwarf created an issue

Line 80

From: export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig:"$PKG_CONFIG_PATH"

To: export PKG_CONFIG_PATH="$PKG_CONFIG_PATH":/usr/X11R6/lib/pkgconfig

Reason why? While pre-pending the /usr/X11R6/lib/pkgconfig: to $PKG_CONFIG_PATH causes no problems in pure 64bit mode, if 32bit-multilib support is added in, having /usr/X11R6/lib/pkgconfig prepended prevents being able to make / build anything 64bit as there will be constant errors about missing libs

Downsides to changing /usr/X11R6/lib/pkgconfig to append instead of prepend: None - everything works perfectly for 64bit and 32bit

Comments (6)

  1. roarde

    Good idea.

    I submitted a patch for this as part of pull request #67.

    /usr/X11R6/lib will continue to be symlinked to /usr/lib, so '/usr/lib/pkgconfig' is what will be appended if the change is approved as-is.

  2. Rodrigo Bistolfi

    What is the status of this issue? Proposed pull request was declined, does this need attention?

  3. roarde

    A later pull request did a better job with this and was accepted. Don't have a reference right now.
    Problem is, vlconfig2 is clobbering the new vasm.sh with the version it has stored. It's fixed on Light by firstruns. Might have seen a fix for STD, but haven't looked at it well enough to really know.
    The way to tell is, if you don't hear from vasm.sh ("You are working as . . .") immediately before gdm start, it's fixed.

  4. Log in to comment