feh failed to build on 10.8.2-x86_64 #15325

Closed
neatonk opened this Issue Oct 6, 2012 · 3 comments

3 participants

@neatonk

The build is failing and complaining about missing symbols in imlib.o.

$ brew install feh
==> Downloading http://feh.finalrewind.org/feh-2.5.tar.bz2
Already downloaded: /Library/Caches/Homebrew/feh-2.5.tar.bz2
==> make PREFIX=/usr/local/Cellar/feh/2.5
      _init_x_and_imlib in imlib.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [feh] Error 1
make: *** [build-src] Error 2

Error: feh did not build

Build log...
https://gist.github.com/3843432

@2bits

feh tries to use symbols that our imlib2 does not have. I'm not sure why.

@2bits 2bits added a commit to 2bits/homebrew that referenced this issue Oct 10, 2012
@2bits 2bits imlib2: require x11
imlib2 without x11 has missing symbols needed by other programs
like feh.  Add a `depends_on :x11`.  Remove the deps on libpng
and freetype. Works well with superenv.

Fixes #15325
c4ae1a9
@2bits

After getting some help from the feh developer, I've adjusted the imlib2 formula so that it will build with all the symbols that feh expects. Wait for this to land, then

brew update
brew rm -f imlib2
brew install feh

Thanks for the bug report. Nice program.

@adamv adamv added a commit that closed this issue Oct 10, 2012
@2bits 2bits imlib2: require x11
imlib2 without x11 has missing symbols needed by other programs
like feh.  Add a `depends_on :x11`.  Remove the deps on libpng
and freetype. Works well with superenv.

Fixes #15325

Closes #15390.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
21ac106
@adamv adamv closed this in 21ac106 Oct 10, 2012
@neatonk
@MikeMcQuaid MikeMcQuaid added a commit that referenced this issue Oct 13, 2012
@MikeMcQuaid MikeMcQuaid imlib2: make X11 dependency optional.
References #15325.
Closes #15390.
8cea93f
@MikeMcQuaid MikeMcQuaid added a commit that referenced this issue Oct 13, 2012
@MikeMcQuaid MikeMcQuaid imlib2: default to X11 support on.
References #15325, #15390.
59a2f11
@snakeyroc3 snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
@2bits 2bits imlib2: require x11
imlib2 without x11 has missing symbols needed by other programs
like feh.  Add a `depends_on :x11`.  Remove the deps on libpng
and freetype. Works well with superenv.

Fixes #15325

Closes #15390.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
27be4f3
@snakeyroc3 snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
@MikeMcQuaid MikeMcQuaid imlib2: make X11 dependency optional.
References #15325.
Closes #15390.
9366fcd
@snakeyroc3 snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
@MikeMcQuaid MikeMcQuaid feh: giblib: re-order dependencies to try and fix X11 issues.
References #15325, #15390.
0a1f773
@snakeyroc3 snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
@MikeMcQuaid MikeMcQuaid imlib2: default to X11 support on.
References #15325, #15390.
82d94ed
@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.