[Nagiosplug-devel] [ nagiosplug-Bugs-1446747 ] can't compile any versions

SourceForge.net noreply at sourceforge.net
Thu Mar 9 14:13:09 CET 2006


Bugs item #1446747, was opened at 2006-03-09 12:44
Message generated for change (Comment added) made by jhmartin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1446747&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compilation
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Submitted By: Dan Gahlinger (routerslayer)
Assigned to: Nobody/Anonymous (nobody)
Summary: can't compile any versions

Initial Comment:
none of the nagios-plugins will compile.
I always get an error, I even tried the latest cvs HEAD
versions, error as follows:

gcc: unrecognized option '-R/lib'
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
cannot find -lssl
collect2: ld returned 1 exit status
make[3]: *** [check_disk] Error 1

1.4.2 gives much more errors:
gcc: unrecognized option '-R/usr/local/ssl/lib'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In
function `dlfcn_load':
dso_dlfcn.c:(.text+0x52): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0xc0): undefined reference to `dlclose'
dso_dlfcn.c:(.text+0x100): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In
function `dlfcn_unload':
dso_dlfcn.c:(.text+0x19d): undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In
function `dlfcn_bind_var':
dso_dlfcn.c:(.text+0x25a): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x301): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In
function `dlfcn_bind_func':
dso_dlfcn.c:(.text+0x37a): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x426): undefined reference to `dlerror'
collect2: ld returned 1 exit status

I've tried openssl 0.9.7f, 0.9.7i, 0.9.8a doesn't make
any difference. they install into /usr/local/ssl
this happens on SUSE 10.1 pro or RedHat Fedora FC4

----------------------------------------------------------------------

Comment By: Jason Martin (jhmartin)
Date: 2006-03-09 14:12

Message:
Logged In: YES 
user_id=589094

What version of gcc are you using? -R (meant as -rpath) 
doesn't seem to be present in all versions. LD_RUN_PATH as 
an environmental variable fulfills the same function.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1446747&group_id=29880




More information about the Devel mailing list