>> cp /tmp/soci-3.0.0/build/unix/lib/libsoci_core.so libsoci_core-3.0.0.so
>> creating link libsoci_core-3.so
>> ln -s libsoci_core-3.0.0.so libsoci_core-3.so
>> The last command did not execute properly:
>> ln: creating symbolic link `libsoci_core-3.so' to `libsoci_core-3.0.0.so': 
>> File exists
>> child process exited abnormally
>> Please contact the SOCI team.

>I think you've made a very good point.
>Indeed, I'd suppose it's a matter of permissions.

>JCR, could you check it?


Yes! Of course. 

I am always working as root but I still cannot overwrite the 
`libsoci_core-3.so' file and the only way to install fully is by removing the 
file manually.


tar xvf soci-3.0.0.tar.gz
cd soci-3.0.0
./configure
make
make install
...
ln -s libsoci_core-3.0.0.so libsoci_core-3.so
The last command did not execute properly:
ln: creating symbolic link `libsoci_core-3.so' to `libsoci_core-3.0.0.so': File 
exists
child process exited abnormally
Please contact the SOCI team.

rm /usr/local/lib/libsoci_*
./configure
make
make install
all is good. 

but 


make uninstall
./configure
make
make install
...
creating link libsoci_core-3.so
ln -s libsoci_core-3.0.0.so libsoci_core-3.so
The last command did not execute properly:
ln: creating symbolic link `libsoci_core-3.so' to `libsoci_core-3.0.0.so': File 
exists
child process exited abnormally
Please contact the SOCI team.


as additional information,


 ls /usr/local/lib/libsoci_*
-rwxr-xr-x 1 root root 380500 May 21 06:41 /usr/local/lib/libsoci_core-3.0.0.so
lrwxrwxrwx 1 root root     21 May 21 05:57 /usr/local/lib/libsoci_core-3.so -> 
libsoci_core-3.0.0.so
-rw-r--r-- 1 root root 581044 May 21 06:41 /usr/local/lib/libsoci_core.a
lrwxrwxrwx 1 root root     21 May 21 05:57 /usr/local/lib/libsoci_core.so -> 
libsoci_core-3.0.0.so
-rwxr-xr-x 1 root root 112832 May 21 05:57 
/usr/local/lib/libsoci_postgresql-3.0.0.so
lrwxrwxrwx 1 root root     27 May 21 05:57 
/usr/local/lib/libsoci_postgresql-3.so -> libsoci_postgresql-3.0.0.so
-rw-r--r-- 1 root root 189734 May 21 06:41 /usr/local/lib/libsoci_postgresql.a
lrwxrwxrwx 1 root root     27 May 21 05:57 /usr/local/lib/libsoci_postgresql.so 
-> libsoci_postgresql-3.0.0.so


      
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to