![]() |
|
|
#12 | |
|
"Luke Richards"
Jan 2018
Birmingham, UK
25×32 Posts |
Quote:
Thanks. Last time I tackled this, I did actually partially factor the N+1 composite. I forgot how far. http://factordb.com/index.php?query=3%5E504206%2B3 The unknown-status large factor doesn't have a neat expression for forming it though: http://factordb.com/index.php?id=1100000001124807633 |
|
|
|
|
|
|
#13 | |
|
Jun 2003
2·3·7·112 Posts |
Quote:
Last fiddled with by axn on 2019-03-18 at 06:39 |
|
|
|
|
|
|
#14 | |
|
Sep 2003
5·11·47 Posts |
Quote:
Try running ldd on the executable file and see what it tells you: ldd pfgw64 I think on RedHat-based Linuxes, ld-linux-x86-64.so.2 is found at /lib64/ld-linux-x86-64.so.2 whereas on Ubuntu it's found at /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
|
|
|
|
|
|
#15 | |
|
"Luke Richards"
Jan 2018
Birmingham, UK
12016 Posts |
Quote:
Thanks for your advice here. I have run ldd, but the output means little to me on its own. Code:
user1@ubuntu-upstairs:~/OpenPFGW$ ldd pfgw64
linux-vdso.so.1 (0x00007ffd8af0b000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f9c7abb0000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f9c7a820000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f9c7a480000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9c7a088000)
/lib64/ld-linux-x86-64.so.2 (0x00007f9c7add0000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f9c79e70000)
I also have the static binary (pfgw64s) was well as the dynamic one and they both provide the same error, suggesting its possibly not a problem with dynamic links? |
|
|
|
|
|
|
#16 | |
|
Sep 2002
Database er0rr
3,761 Posts |
Quote:
I get: Code:
ldd pfgw64 linux-vdso.so.1 (0x00007ffe15fe1000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff81fb44000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ff81f7c2000) libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007ff81f53f000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff81f23b000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ff81f024000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff81ec85000) /lib64/ld-linux-x86-64.so.2 (0x00007ff81fd61000) Last fiddled with by paulunderwood on 2019-03-18 at 20:44 |
|
|
|
|
|
|
#17 |
|
"Luke Richards"
Jan 2018
Birmingham, UK
25×32 Posts |
|
|
|
|
|
|
#18 |
|
"Luke Richards"
Jan 2018
Birmingham, UK
12016 Posts |
#headdesk Installed from https://gmplib.org/manual/Installing...Installing-GMP Using latest version. Still getting the same output from ldd. Trying to compile using 'make' from source files on sourceforge throws this error: Code:
g++: error: packages/gmp/64bit/libgmp.a: No such file or directory g++: error: packages/gwnum/64bit/gwnum.a: No such file or directory So somehow, installing gmplib hasn't had the desired effect! |
|
|
|
|
|
#19 |
|
Sep 2002
Database er0rr
3,761 Posts |
The library should be in the Ubuntu repository. Try
Code:
sudo apt-get install libgmp10 Code:
sudo apt-get update sudo apt-get upgrade sudo apt-get install build-essential ./configure make make check sudo make install Last fiddled with by paulunderwood on 2019-03-18 at 21:15 |
|
|
|
|
|
#20 | |
|
"Luke Richards"
Jan 2018
Birmingham, UK
28810 Posts |
Quote:
I did run that process exactly. And for good measure, I tried to install from apt-get and it told me I already have the latest version. Have even tried the old favourite of 'turn it off and on again' but still getting the "Illegal instruction 'core dumped'" error. Could it be that I need to pass pfgw an instruction to look in usr/bin for the GMP library? |
|
|
|
|
|
|
#21 |
|
"Luke Richards"
Jan 2018
Birmingham, UK
25·32 Posts |
And if I try to build pfgw from source files I get:
Code:
user1@ubuntu-upstairs:~/openpfgw-code-r646$ make
make -C pform/pflib
make[1]: Entering directory '/home/user1/openpfgw-code-r646/pform/pflib'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user1/openpfgw-code-r646/pform/pflib'
make -C pform/pfmath
make[1]: Entering directory '/home/user1/openpfgw-code-r646/pform/pfmath'
make[1]: '.libs/pfmath.a' is up to date.
make[1]: Leaving directory '/home/user1/openpfgw-code-r646/pform/pfmath'
make -C pform/pfgwlib
make[1]: Entering directory '/home/user1/openpfgw-code-r646/pform/pfgwlib'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user1/openpfgw-code-r646/pform/pfgwlib'
make -C pform/pfoo
make[1]: Entering directory '/home/user1/openpfgw-code-r646/pform/pfoo'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user1/openpfgw-code-r646/pform/pfoo'
make -C pform/pfio
make[1]: Entering directory '/home/user1/openpfgw-code-r646/pform/pfio'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user1/openpfgw-code-r646/pform/pfio'
make -C pform/pfgw
make[1]: Entering directory '/home/user1/openpfgw-code-r646/pform/pfgw'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user1/openpfgw-code-r646/pform/pfgw'
g++ -O3 -m64 -DX86_64 -D_64BIT -I../../packages/gmp/64bit -I../../pfconfig/headers \
pform/pfgw/.libs/pfgw_main.a pform/pfio/.libs/pfio.a pform/pfoo/.libs/pfoo.a pform/pfgwlib/.libs/pfgwlib.a \
pform/pfmath/.libs/pfmath.a pform/pflib/.libs/pflib.a \
packages/gmp/64bit/libgmp.a packages/gwnum/64bit/gwnum.a -Wl,-no_pie -lpthread -lstdc++ -o pfgw64
g++: error: packages/gmp/64bit/libgmp.a: No such file or directory
g++: error: packages/gwnum/64bit/gwnum.a: No such file or directory
makefile:8: recipe for target 'pfgw64' failed
make: *** [pfgw64] Error 1
|
|
|
|
|
|
#22 | |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
2·47·101 Posts |
Quote:
They work for most people though, so the number of complains was not enough for them to reach the maintainer. So roll up your sleeves and build the binary from the source. Build libgmp and gwnum, too, of course. Do you expect them to show up magically in that path? |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I get a bigger number to test ? | mersenne1588 | Information & Answers | 6 | 2019-02-12 22:13 |
| Shift Number in LL Test | Kalli Hofmann | Information & Answers | 1 | 2018-01-08 12:24 |
| how can I test a number in any prime95? | Welton | Information & Answers | 7 | 2016-07-29 12:07 |
| sequential number test | Bundu | Programming | 20 | 2012-02-19 18:09 |
| ecm_factor returning the same number as input | Capone | GMP-ECM | 17 | 2007-06-17 09:19 |