When you say you need a shared library for the server side, do you mean you
need to use the API in a wrapper that will run on the server node? If so,
you can use the "client" library that was built there.

 

If you want access to the actual library that implements the functionality
of the pvfs2-server process, then I don't think there is a way to build that
as a shared library. Someone please correct me if I am wrong. If that is
what you are trying to do, then perhaps you need to modify the code that
comprises the server so that your code is incorporated into pvfs2-server.

 

Hope that helps,

Elaine

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Giovanni
Formisano
Sent: Wednesday, October 19, 2011 9:41 AM
To: [email protected]
Subject: [Pvfs2-users] Shared Library

 

Hi all,

 

I would know if possible use the shared library for server side.

When I compile can use "--enable-share" to share libraries client side. But
I need shared library for the server because I have to do a wrapper that use
one.

 

I do

 

#: ./configure -prefix=/opt/pvfs2/
-with-kernel=/usr/src/linux-headers-2.6.32-28-server/ --enable-shared

 

storm:/opt/pvfs2/lib$ ls -al

total 9357

drwxr-xr-x 2 root root     184 2011-10-19 15:14 ./

drwxr-xr-x 7 root root     168 2011-10-19 10:51 ../

-rwxr-xr-x 1 root root 6562310 2011-10-19 15:14 libpvfs2.a*

lrwxrwxrwx 1 root root      13 2011-10-19 15:14 libpvfs2.so ->
libpvfs2.so.2*

lrwxrwxrwx 1 root root      17 2011-10-19 15:14 libpvfs2.so.2 ->
libpvfs2.so.2.8.4*

-rwxr-xr-x 1 root root 3005737 2011-10-19 15:14 libpvfs2.so.2.8.4*

 

/opt/pvfs2/bin$ ldd pvfs2-cp 

            linux-vdso.so.1 =>  (0x00007fff8a592000)

            libpvfs2.so => not found

            libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8
(0x00007f0cef8c5000)

            libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007f0cef672000)

            libpthread.so.0 => /lib/libpthread.so.0 (0x00007f0cef455000)

            libc.so.6 => /lib/libc.so.6 (0x00007f0cef0d2000)

            libdl.so.2 => /lib/libdl.so.2 (0x00007f0ceeecd000)

            libz.so.1 => /lib/libz.so.1 (0x00007f0ceecb6000)

            /lib64/ld-linux-x86-64.so.2 (0x00007f0cefc7b000)

 

This is ok but for server what I can do?

 

Thank you

 

Best

Giovanni

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to