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

libmagic 5.12 failed to build on Snow Leopard #16943

Closed
derickl opened this issue Jan 7, 2013 · 5 comments
Closed

libmagic 5.12 failed to build on Snow Leopard #16943

derickl opened this issue Jan 7, 2013 · 5 comments

Comments

@derickl
Copy link

derickl commented Jan 7, 2013

This came about after upgrading from 5.11

Undefined symbols:
"_getline", referenced from:
_main in file.o
_main in file.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [file] Error 1
make: *** [install-recursive] Error 1
==> Configuration
HOMEBREW_VERSION: 0.9.3
HEAD: cd95c7548181065e7480224f4b522eb315fbc301
CPU: dual-core 64-bit penryn
OS X: 10.6.8-x86_64
Xcode: 3.2.6
X11: 2.3.6 => /usr/X11
==> ENV
CC: /usr/bin/gcc-4.2
CXX: /usr/bin/g++-4.2
CFLAGS: -Os -w -pipe -march=core2 -msse4.1 -mmacosx-version-min=10.6
CXXFLAGS: -Os -w -pipe -march=core2 -msse4.1 -mmacosx-version-min=10.6
CPPFLAGS: -F/usr/local/Frameworks
LDFLAGS: -L/usr/local/lib -F/usr/local/Frameworks
MAKEFLAGS: -j2
CMAKE_FRAMEWORK_PATH: /usr/local/Frameworks
MACOSX_DEPLOYMENT_TARGET: 10.6
HOMEBREW_BUILD_FROM_SOURCE: true
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: /usr/bin/gcc-4.2
PATH:......

Any help will be greatly appreciated.

Thanks

@adamv
Copy link
Contributor

adamv commented Jan 7, 2013

Will try to reproduce tonight on my SL machine.

@derickl
Copy link
Author

derickl commented Jan 7, 2013

Appreciated..

@mistydemeo
Copy link
Member

I can reproduce this on my SL box.

@adamv
Copy link
Contributor

adamv commented Jan 7, 2013

Probably best to revert to 5.11, even mailing list says 5.12 is experimental. Though fixing the issue and reporting it would be good too.

@mistydemeo
Copy link
Member

Reported upstream: http://bugs.gw.com/view.php?id=230

Though reverting is still a good idea for now.

@adamv adamv closed this as completed in 97db918 Jan 7, 2013
dholm pushed a commit to dholm/homebrew that referenced this issue Jan 14, 2013
This reverts commit e2e69af.

This fails to compile on Snow Leopard. Reported upstream:
http://bugs.gw.com/view.php?id=230

Closes Homebrew#16943.
@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

3 participants