Hello,
Maybe this one can help -> https://bugs.sogo.nu/view.php?id=5986#c17834

Basically, the -lSOGo error is not the real error and you may have one before. 
In the example above, it was the libynef missing.


Cheers,
-- 
Quentin Hivert || Alinto || R&D Lead Developer 
19 Quai Perrache 69002 Lyon
www.alinto.com

-----Original Message-----
From: users-requ...@sogo.nu <users-requ...@sogo.nu> On Behalf Of Desmond Schmidt
Sent: mercredi 7 mai 2025 02:44
To: Christoph Zechner (zech...@vrvis.at) <users@sogo.nu>
Subject: [SOGo] build of SOGo on Ubuntu 24 fails to find libSOGo.so

Hi,

I have followed the instructions for building SOGo from source located at 
https://www.sogo.nu/support/faq/how-do-i-compile-sogo.html

I have installed all the prerequisites including GNUstep from packages and run 
the configuration. SOPE builds correctly but SOGo does not. It fails to create 
the shared library libSOGo.so, which it later requires. 
It can't find it and the make step fails. The relevant bit of make output is:

-L../SOGo/SOGo.framework/Versions/Current/sogo/ -lSOGo -L../../SOGo/./obj/ 
-L../../SOPE/NGCards/./obj/ -lNGCards -L../../SOPE/GDLContentStore/./obj/ 
-lGDLContentStore -L/usr/local/lib -Wl,-rpath,/usr/lib/sogo 
-L../../SOPE/GDLContentStore/obj/ -L/home/desmond/GNUstep/Library/Libraries 
-L/usr/local/lib -L/usr/lib     -lNGObjWeb -lNGMime -lNGStreams -lNGExtensions 
-lGDLAccess -lNGObjWeb -lNGMime -lNGLdap -lNGStreams -lNGExtensions -lEOControl 
-lDOM -lSaxObjC -lSBJson -lgnustep-base    -lobjc   -lm
/usr/bin/ld: cannot find -lSOGo: No such file or directory
collect2: error: ld returned 1 exit status

There is a symlink to libSOGo.so : ls -l 
./Downloads/sogo-master/SoObjects/SOGo/SOGo.framework/sogo/libSOGo.so
lrwxrwxrwx 1 desmond desmond 35 May  7 10:30 
./Downloads/sogo-master/SoObjects/SOGo/SOGo.framework/sogo/libSOGo.so -> 
../Versions/Current/sogo/libSOGo.so

but the target is not there.

I suspect the problem lies in the GNUstep installation but all seems fine. 
Maybe this has not been tested on Ubuntu 24.04. Any ideas on how I should debug 
this?


Desmond Schmidt

Catalyst IT Australia

Reply via email to