Menu

#27 on OS X 10.13.3, unknown option -soname

open
nobody
None
5
2018-09-07
2018-09-07
Andy Alt
No

Extra information about the build system can be seen in the full log.

Not a bug in libircclient, but adjusting the Makefile might prevent it. See this link: https://stackoverflow.com/questions/4580789/ld-unknown-option-soname-on-os-x

This is my error output. Though some of the lines from the travis log were truncated, I included --enabled-shared with my configure options.

==> Installing libircclient from theimpossibleastronaut/extras

==> Downloading https://sourceforge.net/projects/libircclient/files/libircclient

==> Downloading from https://ayera.dl.sourceforge.net/project/libircclient/libir

==> ./configure --prefix=/usr/local/Cellar/libircclient/1.10 --libdir=/usr/local

==> make install

Last 15 lines from /Users/travis/Library/Logs/Homebrew/libircclient/02.make:

2018-09-07 18:47:39 +0000

make

install

for subdir in src examples; do \

  /Applications/Xcode-9.3.app/Contents/Developer/usr/bin/make -C $subdir || exit 1; \

done

clang -Wall -Wno-misleading-indentation -Wno-unused-function -Wno-nonnull -DIN_BUILDING_LIBIRC -g -O2 -O3 -fpic -DENABLE_THREADS -D_REENTRANT -I../include -c -o libircclient.o libircclient.c

clang -shared -s -Wl,-soname,libircclient.so.1 -o libircclient.so libircclient.o

ld: unknown option: -soname

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[1]: *** [libircclient.so] Error 1

make: *** [all] Error 1

Discussion


Log in to post a comment.