Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

libmp3splt build fails because of ignored libogg.dylib #9621

Closed
hoesler opened this issue Jan 16, 2012 · 2 comments
Closed

libmp3splt build fails because of ignored libogg.dylib #9621

hoesler opened this issue Jan 16, 2012 · 2 comments

Comments

@hoesler
Copy link
Contributor

hoesler commented Jan 16, 2012

Here is the log: https://gist.github.com/42c2eaa417f3544fc801

Here is the part that explains the failed build:

ld: warning: ignoring file /usr/lib/libogg.dylib, missing required architecture x86_64 in file
Undefined symbols for architecture x86_64:
"_ogg_stream_init", referenced from:
_splt_ogg_scan_silence in libsplt_ogg_la-ogg.o
_splt_ogg_split in libsplt_ogg_la-ogg.o
_splt_ogg_info in libsplt_ogg_la-ogg.o

.... more missing symbols

Suspicious is also this warning:

==> Downloading patches
/usr/bin/curl -qf#LA Homebrew 0.8.1 (Ruby 1.8.7-249; Mac OS X 10.7.2) https://gist.github.com/raw/1034717/931c582cba12d5afcbaa3edd6032baa25bebf5d8/autogen.sh.patch -o 001-homebrew.diff

################################################################## 100,0%

==> Patching
/usr/bin/patch -f -p1 -i 001-homebrew.diff
patching file autogen.sh
patch unexpectedly ends in middle of line
Hunk #2 succeeded at 46 with fuzz 1.

Tried an uninstall/install of libogg with no success.

Thanks for help

@jacknagel
Copy link
Contributor

Looks like the build is picking up a libogg in /usr/lib that doesn't have 64-bit symbols (it was probably placed there by some other software).

@hoesler
Copy link
Contributor Author

hoesler commented Jan 18, 2012

Indeed. Deleting the file, solved the problem.
That was quite ... obvious. I could have noticed the "wrong" path to libogg myself.

Thanks for the help.

@hoesler hoesler closed this as completed Jan 18, 2012
@Homebrew Homebrew 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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants