I try to compile and build this code in my Mac OS. I try this following cmd.
cd ideviceactivate
make
sudo make install
In terminal when I tried with make it gets following error.
ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [all] Error 1
make: *** [all] Error 2
Can you please guide me how to solve this issue.
Thanks
Related
I'm building syslog-ng fro source as per the guide here. However the build is failing to find the lcrypto library"
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory all-recursive
CCLD modules/snmp-dest/libsnmpdest.la
CCLD modules/stardate/libstardate.la
CCLD modules/syslogformat/libsyslogformat.la
CCLD modules/system-source/libsystem-source.la
ld: library not found for -lcrypto.35
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [modules/snmp-dest/libsnmpdest.la] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I think this is part of the OpenSSL library which I have installed?
libcrypto belongs to OpenSSL.
An important step in the syslog-ng compilation guide is that you have to install OpenSSL using brew and set PKG_CONFIG_PATH accordingly before configuring and building the project, for example:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig
Please note that currently (v3.22.1) syslog-ng is not tested/supported on macOS. Only compilation, unit tests and a few drivers are verified (manually), but for example, there is no native system() source.
If you want to experiment with syslog-ng on macOS, you can ask questions or share your feedback:
syslog-ng on GitHub
syslog-ng Community contact channels
Im trying to compile Qt 5.9.x on my Mac OS High Sierra computer.
I configure with the following options:
./configure --prefix=/Users/myuserid/opt/qt593 \
-opensource \
-release -gui -widgets -no-opengl -confirm-license \
-shared -no-dbus -nomake examples
After configuring I compile and after a while it stops with the
following undefined symbols:
Undefined symbols for architecture x86_64:
"AVFVideoRendererControl::staticMetaObject", referenced from:
AVFMediaPlayerService::releaseControl(QMediaControl*) in avfmediaplayerservice.o
"AVFVideoRendererControl::AVFVideoRendererControl(QObject*)", referenced from:
AVFMediaPlayerService::requestControl(char const*) in avfmediaplayerservice.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[5]: *** [../../../../plugins/mediaservice/libqavfmediaplayer.dylib] Error 1
make[4]: *** [sub-mediaplayer-make_first] Error 2
make[3]: *** [sub-avfoundation-make_first] Error 2
make[2]: *** [sub-plugins-make_first] Error 2
make[1]: *** [sub-src-make_first] Error 2
make: *** [module-qtmultimedia-make_first] Error 2
How do I fix or get past this error? I haven't seen an AVMediaPlayer package to download for Mac OS? I really don't need it anyhow since
Im not planning on doing any Sound or Video?
Anyone see this error and know how to fix it?
Thanks
I'm currently compiling Qt 5.9.3 on osx. I get the same error when I use the '--no-opengl' switch, without it, the compilation is successful. I don't know if this is an option for you, though.
I am trying to install a debugger called Valgrind on OSX 10.11.2.
While running make, I get the following error
Undefined symbols for architecture i386:
"___ctzdi2", referenced from:
_doRegisterAllocation in libvex-x86-darwin.a(libvex_x86_darwin_a-host_generic_reg_alloc2.o)
ld: symbol(s) not found for architecture i386
make[3]: *** [memcheck-x86-darwin] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Do you know how to fix this?
This may or may not work for you, as I am operating in the following environment:
OS X 10.11.2,
Xcode 7.3.1
Custom built GCC 6.2.0 from source (which I am using instead of Xcode's clang compiler)
The following patch file applied to valgrind-3.12.0:
https://gist.github.com/milljm/22e40e723fb9faf201b83197fc23b4a1
I received the same error as OP, until I used the following extra configure argument:
./configure --enable-only64bit
Has anyone successfully cross compiled GHC 7.8.3 for raspberry pi on a Mac?
My build keeps failing with the following error.
ld: archive has no table of contents file '/Volumes/Media/RaspberryPi/ghc-7.8.3/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.0.0.a' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: * [utils/ghc-pkg/dist/build/tmp/ghc-pkg] Error 1
make: * [all] Error 2
When I install gearmand on mac10.8.3. Everything seems fine when I install libevent boost and so on . But at last I got and error return 1 when I run command make.
Error infomation is :
`make -j5 all-am
CXXLD bin/gearadmin
ld: library not found for -lboost_program_options-mt
collect2: ld returned 1 exit status
make[1]: * [bin/gearadmin] Error 1
make: * [all] Error 2`
I guess you need libboost-program-options-dev (debian name) library - try to find how it's named in MacOS.