LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres \(jsquyres\) (jsquyres_at_[hidden])
Date: 2006-07-06 06:40:34


> -----Original Message-----
> From: lam-bounces_at_[hidden]
> [mailto:lam-bounces_at_[hidden]] On Behalf Of Dennis van Dok
> Sent: Thursday, July 06, 2006 6:18 AM
> To: lam_at_[hidden]
> Subject: LAM: liblam.so is not linked to libutil on Linux
>
> When I tried to use Rmpi_0.5-2 with lam 7.1.2 it complained
> it could not
> load liblam.so because of an undefined symbol: openpty. I

Thanks for the patch!

Unfortunately, I don't quite understand it. From the configure.in
excerpt:

> AC_CHECK_LIB(util, login, WRAPPER_EXTRA_LIBS="$WRAPPER_EXTRA_LIBS
> -lutil" LIBLAM_EXTRA_LIBS="$LIBLAMEXTRALIBS -lutil"
> LIBS="$LIBS -lutil")

Specifically, if the "login" symbol is found, "-lutil" is added to both
$LIBS and $LIBLAM_EXTRA_LIBS. Now look below at your patch:

> -LIBS = @LIBS@
> +LIBS = @LIBS@ @LIBLAM_EXTRA_LIBS@

The @LIBS@ here should already have "-lutil" in it because it was added
during the same AC_CHECK_LIB as when LIBLAM_EXTRA_LIBS got "-lutil".

Can you confirm that LIBS itself does not include -lutil? Can you send
your entire configure output and config.log, and perhaps one of the
generated Makefiles?

Thanks!

-- 
Jeff Squyres
Server Virtualization Business Unit
Cisco Systems