mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   Configuring PRPNet ODBC on Linux (https://www.mersenneforum.org/showthread.php?t=18455)

rogue 2020-01-14 14:23

[QUOTE=unconnected;535089]I've recently installed a newest version of prpserver and spent several hours figuring out why it could not connect to the database. Then I decided to search the forum and found this thread :smile:

Thanks to [B]amphoria[/B], his [URL="https://www.mersenneforum.org/showpost.php?p=349183&postcount=3"]advice[/URL] solved my problem.
Also, the applications did not compile with the error

[CODE]/usr/bin/ld: LengthCalculator.o: undefined reference to symbol 'floor@@GLIBC_2.2.5'
//usr/lib64/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [prpserver] Error 1
[/CODE]until I added -lm option to the linker.

One more suggestion is to add prpadmin to the target all.
Does it worth adding these changes to the makefile?[/QUOTE]

Adding -lm yes, but I deliberately do not build prpadmin with "make all". I had my reasons at the time, but I forgot what they were. I can add it.


All times are UTC. The time now is 18:31.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.