# su - sogo -s /usr/local/bin/bash
[sogo@gw ~]$ gdb --args /usr/local/GNUstep/Local/Tools/Admin/sogod
-WOUseWatchDog NO -WONoDetach YES -WOPort 20000 -WOWorkersCount 1
-WOLogFile - -WOPidFile /tmp/sogo.pid
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
(gdb) r
Starting program: /usr/local/GNUstep/Local/Tools/Admin/sogod -WOUseWatchDog
NO -WONoDetach YES -WOPort 20000 -WOWorkersCount 1 -WOLogFile - -WOPidFile
/tmp/sogo.pid
/libexec/ld-elf.so.1: Shared object "libSOGo.so.2" not found, required by
"sogod"
Program exited with code 01.
(gdb) quit
[sogo@gw ~]$ exit
logout
root@gw:/ # ls -al
/usr/local/GNUstep/Local/Library/Frameworks/SOGo.framework/Versions/2/
total 1784
drwxr-xr-x 4 root wheel 512 Jun 29 23:31 .
drwxr-xr-x 3 root wheel 512 Jun 29 23:30 ..
drwxr-xr-x 2 root wheel 1536 Jun 29 23:30 Headers
drwxr-xr-x 2 root wheel 512 Jun 29 23:31 Resources
lrwxr-xr-x 1 root wheel 10 Jun 29 23:31 SOGo -> libSOGo.so
lrwxr-xr-x 1 root wheel 12 Jun 29 23:31 libSOGo.so -> libSOGo.so.2
lrwxr-xr-x 1 root wheel 17 Jun 29 23:31 libSOGo.so.2 ->
libSOGo.so.2.0.6b
-rwxr-xr-x 1 root wheel 1786194 Jun 29 23:31 libSOGo.so.2.0.6b
Odd! It is complaining about a file that is actually there!
I've even added the path to the hints file, but no luck still.
ldconfig -r | grep GNU
search directories:
/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/compat/pkg:/usr/local/GNUstep/Local/Library/:/usr/local/GNUstep/System/Library/Libraries:/usr/local/lib/compat:/usr/local/lib/dovecot:/usr/local/lib/gcc42:/usr/local/lib/mysql:/usr/local/lib/nss:/usr/local/lib/pth:/usr/local/libexec/openldap
What next?
On 29 June 2013 15:58, Ludovic Marcotte <[email protected]> wrote:
> On 2013-06-29 6:30 AM, Odhiambo Washington wrote:
>
>> Is there a way I can track this to find out the cause of the segfault?
>>
> http://www.sogo.nu/nc/support/**faq/article/how-do-i-debug-**sogo.html<http://www.sogo.nu/nc/support/faq/article/how-do-i-debug-sogo.html>
>
> --
> Ludovic Marcotte
> [email protected] :: +1.514.755.3630 :: http://inverse.ca
> Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence (
> http://packetfence.org)
>
> --
> [email protected]
> https://inverse.ca/sogo/lists
>
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
"I can't hear you -- I'm using the scrambler."
--
[email protected]
https://inverse.ca/sogo/lists