Sorry; I was on a plane while most of this conversation was occurring on Friday.

I see that Samuel converted to use LDADD instead of LIBS.  Cool.  

I still see -rpath being inserted in the final link step for libhwloc.so (SVN 
build using AC 2.65, AM 1.11.1, LT 2.2.6b):

/bin/sh ../libtool  --tag=CC   --mode=link gcc -std=gnu99   -fvisibility=hidden 
-I/usr/include/libxml2   -std=gnu99   -fvisibility=hidden  
-I/users/jsquyres/svn/hwloc/include -Wall -Wunused-parameter -Wundef 
-Wno-long-long -Wsign-compare -Wmissing-prototypes -Wstrict-prototypes 
-Wcomment -pedantic    -no-undefined  -version-number 0:0:0 -lxml2 -lz -lm    
-o libhwloc.la -rpath /home/jsquyres/bogus/lib topology.lo traversal.lo 
topology-synthetic.lo bind.lo cpuset.lo misc.lo topology-xml.lo  
topology-linux.lo       topology-x86.lo  -libverbs

But unless I'm mistaken, libtool then strips it out:

libtool: link: gcc -shared  .libs/topology.o .libs/traversal.o 
.libs/topology-synthetic.o .libs/bind.o .libs/cpuset.o .libs/misc.o 
.libs/topology-xml.o .libs/topology-linux.o .libs/topology-x86.o   -lxml2 -lz 
-lm -libverbs    -Wl,-soname -Wl,libhwloc.so.0 -o .libs/libhwloc.so.0.0.0

Does this latest change make it work acceptably for you?



On Jun 18, 2010, at 7:18 PM, Samuel Thibault wrote:

> Samuel Thibault, le Sat 19 Jun 2010 00:03:49 +0200, a écrit :
> > What is the output of gcc -print-search-dirs?
> 
> Ah, no, I misread the configure script, sys_lib_dlsearch_path_spec
> comes from ld.so.conf (that makes sense actually).  Could you post your
> /etc/ld.so.conf (and any file that it could include)?
> 
> Samuel
> _______________________________________________
> hwloc-devel mailing list
> hwloc-de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel
> 


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to