ld -r and mpprun

David Bremner bremner at unb.ca
Thu Jul 19 06:54:26 PDT 2001


Thanks to Nicholas Henk I got bproc and a bunch of other things from
scyld beowulf 27B7-7 to build.

I am now stuck on mpprun

rpm --rebuild mpprun-0.0.24-1.src.rpm   

yields 

cc -Wall -g -I. -Iinclude  -c -o helper.o helper.c
cc -Wall -g -I. -Iinclude  -c -o operators.o operators.c
ld -r --whole-archive -ldl -o libmft.a option.o log.o link.o helper.o
o
ld: cannot find -ldl
make[1]: *** [libmft.a] Error 1

based on some vague recollection, I made a link from /lib to /lib/lib

now the libs seem to be there

[root at motzkin scyld]# ls -lL /usr/lib/libdl* /lib/libdl*
-rwxr-xr-x    1 root     root       259082 Mar 27  2000 /lib/libdl-2.1.3.so
-rw-r--r--    1 root     root       123444 Jul 18 18:28 /lib/libdl.a
-rwxr-xr-x    1 root     root       259082 Mar 27  2000 /lib/libdl.so
-rwxr-xr-x    1 root     root       259082 Mar 27  2000 /lib/libdl.so.2.1
-rw-r--r--    1 root     root       123444 Jul 18 18:28 /usr/lib/libdl.a
-rwxr-xr-x    1 root     root       259082 Mar 27  2000 /usr/lib/libdl.so

Quothe Oliver Twist:

Please sir, could I have some more? (help in my case, gruel in his)

db




More information about the Beowulf mailing list