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

SourceForge.net noreply at sourceforge.net
Wed Jul 5 04:20:30 CEST 2006


Bugs item #1446747, was opened at 03/09/06 12:44
Message generated for change (Comment added) made by sf-robot
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: Closed
Resolution: None
Priority: 5
Submitted By: Dan Gahlinger (routerslayer)
Assigned to: Ton Voon (tonvoon)
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: SourceForge Robot (sf-robot)
Date: 07/04/06 19:20

Message:
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Ton Voon (tonvoon)
Date: 06/20/06 11:46

Message:
Logged In: YES 
user_id=664364

Dan,

Can you try the snapshot at http://nagiosplug.sf.net/snapshot?

Marking this call in pending and will auto close in 7 days if no response.

Ton

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

Comment By: Ton Voon (tonvoon)
Date: 03/22/06 09:40

Message:
Logged In: YES 
user_id=664364

Dan,

Can you try the CVS snapshot at http://nagiosplug.sf.net/snapshot. This has 
support for libtool, which should help with -R options and dlopen calls.

Which platform are you running on?

Ton

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

Comment By: Jason Martin (jhmartin)
Date: 03/09/06 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