Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

32bit arch support #2344

Closed
chougulepavan opened this issue Jan 31, 2019 · 6 comments
Closed

32bit arch support #2344

chougulepavan opened this issue Jan 31, 2019 · 6 comments

Comments

@chougulepavan
Copy link

Hi, Will new ntopng version(3.9) support 32bit FreeBSD arch? If I compile new ntop for 32bit arch from the source will that binary work?

@emanuele-f
Copy link
Contributor

Hi, no official support for 32bit OS, but if you manually compile there should be no problem

@chougulepavan
Copy link
Author

I did try that, compiled manually but when tried to run the binary, getting a segmentation fault(core dump).

@emanuele-f
Copy link
Contributor

Please see https://github.com/ntop/ntopng/blob/dev/doc/README.crash to get a stack trace. Also ensure that your are using the latest ntopng version

@chougulepavan
Copy link
Author

Thanks Emanuele for quick followup.
Found the problem it is because of libcrypto library, SSH required libcrypto.so.7 and ntopng require libcrypto.so.9 and as per the gdb output these library causing segmentation fault, copied gdb output below,
root@:~/build/ntopng # gdb ./ntopng
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) run
Starting program: /root/build/ntopng/ntopng
[New LWP 100079]
[New Thread 2a403080 (LWP 100079/ntopng)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2a403080 (LWP 100079/ntopng)]
0x0823c09b in OPENSSL_ia32_cpuid ()
(gdb) bt
#0 0x0823c09b in OPENSSL_ia32_cpuid ()
#1 0x292884ab in OPENSSL_cpuid_setup () from /lib/libcrypto.so.7
#2 0x29182029 in _init () from /lib/libcrypto.so.7
#3 0x00000000 in ?? ()
(gdb)

@emanuele-f
Copy link
Contributor

Ok, do you think there is something to fix our side (e.g. Makefile or conditional compilation) or this is something you can fix in your system?

@emanuele-f
Copy link
Contributor

No feedback received, closing for inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants