spine compile error

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
aminli
Posts: 5
Joined: Sun Apr 08, 2012 6:15 am

spine compile error

Post by aminli »

I try to compile spine 1.2.4 on freebsd 11.1, during run this command: make
I see this error:
/usr/bin/ld: cannot find -ldl
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1


so what is -ldl and how can I fix it?
also I try with spine 1.2.8 , it is same error.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: spine compile error

Post by netniV »

I think that basically means your version of gcc doesn't support the -ldl option. The dl library is used for dlopen and generally means it was found, but for some reason your gcc isn't linking to it. Check your library paths are correct.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: spine compile error

Post by TheWitness »

I think this was fixed in later versions, which you should be able to run with Cacti 1.2.x+.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: fpiorek and 3 guests