Linking errors

Forum for questions and support relating to the 1.28.x releases only.
Post Reply
Posts: 6
Joined: Mon Feb 02, 2015 3:22 pm

Linking errors

Post by Kinoha » Mon Feb 02, 2015 4:04 pm


I try build zm for my arm machine but I have 2 errors:

Code: Select all

Linking CXX executable nph-zms
cd /home/odroid/sources/zoneminder-1.28.0/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/nph-zms.dir/link.txt --verbose=1
/usr/bin/c++   -Wall -D__STDC_CONSTANT_MACROS -O2    CMakeFiles/nph-zms.dir/zms.cpp.o  -o nph-zms -rdynamic libzm.a -lz -lcurl -ljpeg -lssl -lcrypto -lpthread -lpcre -lgcrypt -lgnutls -lmysqlclient /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ -lvlc -Wl,-rpath,/usr/local/lib: 
/usr/bin/ld.bfd.real: warning:, needed by /usr/local/lib/, not found (try using -rpath or -rpath-link)
/usr/bin/ld.bfd.real: warning:, needed by /usr/local/lib/, not found (try using -rpath or -rpath-link)
I have two files installed but wrong version:

Code: Select all

-rw-r--r-- 1 root root 715360 mars  24  2014 /usr/lib/arm-linux-gnueabihf/
-rw-r--r-- 1 root root 624688 mars  24  2014 /usr/lib/arm-linux-gnueabihf/x264-10bit/
How to fix these problems?
Maybe disable AAC support? How do this?
But I need x264 for h264 stream.


Posts: 970
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Linking errors

Post by PacoLM » Tue Feb 03, 2015 5:54 pm

Not sure you could compile V1.28 in ARM devices like an Odroid...

mini-ITX system (4 IPCams - Ubuntu20.04 - ZM1.34.15)

User avatar
Posts: 2268
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Linking errors

Post by knight-of-ni » Wed Feb 04, 2015 1:11 pm

I've never built zm for an arm device, but the old fashioned way to work around the build error you are experiencing is to just symlink the libraries in question to the name of the library that zm is looking for. e.g.

Code: Select all

ln -s 
This doesn't tell us why this is happening in the first place, so its possible that there is some underlying problem that will continue to give you grief.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at

Posts: 679
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: Linking errors

Post by mastertheknife » Thu Feb 05, 2015 8:26 am


This happened because ffmpeg was compiled against different versions of those two libraries than what you have installed on your system.

Kfir Itzhak
Kfir Itzhak.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests