View Issue Details

IDProjectCategoryView StatusLast Update
0005907SOGoActiveSyncpublic2024-02-22 10:02
Reportermodir Assigned Toqhivert  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version5.9.1 
Fixed in Version5.10.0 
Summary0005907: undefined symbol: TNEFCheckForSignature
Description

I installed a new server with SOGo 5.9.1 a few days ago. The server is based on Rocky Linux 9.3. In the logs I get now always this error message:

/usr/sbin/sogod: symbol lookup error: /usr/lib64/GNUstep/SOGo/Mailer.SOGo/Mailer: undefined symbol: TNEFCheckForSignature

I did follow these instructions:

SOGo relies on the GNUstep and ytnef packages provided by Alinto and must not use the packages from EPEL. Adjust the repository definition to exclude those packages:
sed -i '/enabled=1/a exclude=gnustep ytnef' /etc/yum.repos.d/epel.repo

So I am not sure what I still should do. It somehow looks like a bug to me.

TagsNo tags attached.

Activities

qhivert

qhivert

2023-12-17 12:41

administrator   ~0017507

Last edited: 2023-12-17 12:41

Hello,
Could you do the following checks:

  • You have file named ytnef.h, mine is at /usr/include/ytnef.h but you can do: find . -name "ytnef"
  • Check if this file contains the missing symbol: cat usr/include/ytnef.h | grep TNEFCheckForSignature
  • Show me the result of: gcc -lytnef

Could you make this dummy test.c:

#include <stdio.h>
#include <ytnef.h>

int main() {
// printf() displays the string inside quotation
printf("Hello, World!");
DWORD signature;
TNEFCheckForSignature(signature);
return 0;
}

Then try to compile it: gcc -o test test.c -lytnef

modir

modir

2023-12-19 17:03

reporter   ~0017514

Hi,
Sure. Here are the results:

cat /usr/include/ytnef.h | grep TNEFCheckForSignature

int TNEFCheckForSignature(DWORD sig);

gcc -lytnef

/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64/crt1.o: in function _start': (.text+0x1b): undefined reference tomain'
collect2: error: ld returned 1 exit status

And the compilation of the dummy works.

qhivert

qhivert

2023-12-20 16:06

administrator   ~0017515

Hello,
Strange, I've test to send a tnef mail in my dev server (ubuntu jammy) and there is no symbol error. I've add the library to another step within the makefile to test. Could you try it with the next nightly tomorrow? (It should be sogo--5.9.1.20231221)

modir

modir

2023-12-21 23:46

reporter   ~0017519

Hi,
I installed the new nightly and the error message is still here.
And other ideas?

qhivert

qhivert

2023-12-22 14:42

administrator   ~0017523

Hello,
When I'll have time, I will install a SOGo environment with rhel 9 to test it.
If you have time, you could try to build sogo from the source and then I can guide you to what to do and test.

modir

modir

2023-12-28 16:20

reporter   ~0017527

Sure I can do it. Should I do this: https://www.sogo.nu/support/faq/how-do-i-compile-sogo.html ?
Or should I do only a part of it in my situation?

qhivert

qhivert

2023-12-28 17:23

administrator   ~0017528

Do it like in the link.
The goal is that after you can build sogo, it will be way easier to find where to include ytnef for the missing symbol.

Issue History

Date Modified Username Field Change
2023-12-15 15:37 modir New Issue
2023-12-17 12:41 qhivert Note Added: 0017507
2023-12-17 12:41 qhivert Note Edited: 0017507
2023-12-17 12:41 qhivert Note Edited: 0017507
2023-12-17 12:42 qhivert Note View State: 0017507: public
2023-12-17 12:42 qhivert Assigned To => qhivert
2023-12-17 12:42 qhivert Status new => assigned
2023-12-17 12:42 qhivert Status assigned => feedback
2023-12-19 17:03 modir Note Added: 0017514
2023-12-19 17:03 modir Status feedback => assigned
2023-12-20 16:06 qhivert Note Added: 0017515
2023-12-20 16:06 qhivert Status assigned => feedback
2023-12-21 23:46 modir Note Added: 0017519
2023-12-21 23:46 modir Status feedback => assigned
2023-12-22 14:42 qhivert Note Added: 0017523
2023-12-22 14:42 qhivert Status assigned => feedback
2023-12-28 16:20 modir Note Added: 0017527
2023-12-28 16:20 modir Status feedback => assigned
2023-12-28 17:23 qhivert Note Added: 0017528
2023-12-28 17:24 qhivert Status assigned => feedback
2024-02-21 08:31 qhivert Status feedback => resolved
2024-02-21 08:31 qhivert Resolution open => fixed
2024-02-21 08:31 qhivert Fixed in Version => 5.10.0
2024-02-22 10:02 qhivert Status resolved => closed