I am trying to install openssl1.0.1e on a 64bit FC16 machine. I already have one older version (1.0.0j) installed in my machine. My application is having some memory corruption and trying to debug it through valgrind tool. Valgrind shows lots of "Uninitialized Variable" message for openssl functions which I want to suppress by installing latest openSSL with PURIFY macro enabled. I am installing it using following commands
./config -DPURIFY shared
make
make is stopping installation and throwing below errors:
/usr/bin/ld: libcrypto.a(e_4758cca.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC
libcrypto.a(e_4758cca.o): could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [link_a.gnu] Error 1
make[4]: Leaving directory `/home/downloads/openssl-1.0.1e'
make[3]: *** [do_linux-shared] Error 2
make[3]: Leaving directory `/home/downloads/openssl-1.0.1e'
make[2]: *** [libcrypto.so.1.0.0] Error 2
make[2]: Leaving directory `/home/downloads/openssl-1.0.1e'
make[1]: *** [shared] Error 2
make[1]: Leaving directory `/home/downloads/openssl-1.0.1e/crypto'
make: *** [build_crypto] Error 1
What could be the reason for this error?
Thanks in advance!
Related
I am currently running GridDB 4.5.2 (from yum) on CentOS Linux release 7.9.2009
When attempting to build the new GridDB version from source, I get the following error:
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [gsserver-system_service.o] Error 4
make[2]: Leaving directory `/home/${USER}/griddb-4.6.0/server'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/${USER}/griddb-4.6.0/server'
make: *** [all-recursive] Error 1
Any ideas?
That error is commonly seen when GridDB is compiled on a machine with low memory.
I have been working on Gesture recognition project. I use XKin gesture recogntion library https://github.com/fpeder/XKin. To compile Xkin i had to install fftw (http://www.fftw.org/download.html) I build fftw successfully with
./configure
make
make install
But when i build Xkin i got this Error
/usr/bin/ld: /usr/local/lib/libfftw3.a(lt4-problem.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libfftw3.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: * [lib/posture/libposture.so] Error 1
make[1]: * [lib/posture/CMakeFiles/posture.dir/all] Error 2
make: *** [all] Error 2`
do this
./configure --enable-shared
sudo make CFLAGS=-fPIC
sudo make install
This will solve your problem.
I want to install mod_tile on opensuse. I am following the link to install it; after
#./configure
I run make:
#make
it shows the below error:
make[1]: *** [src/gen_tile.o] Error 1
make[1]: Leaving directory `/opt/mod_tiles_src/mod_tile'
its duplicate of the Other issue
i used the code from
https://github.com/springmeyer/mod_tile
which is working fine..
I am trying to compile glibc 2.15 from source. I followed all the steps in gnu link. The configuration was success but when I try to make I am getting this peculiar which is terminating the compilation. I tried searching for the error but there was no mention of it on the web.
I am doing this on 64bit Ubuntu 12.10.
The error message is
'wctomb.c:59:1: error
__EI_wctomb' aliased to external symbol '__GI_wctomb'
make[2]: *** [/var/services/homes/abhi/ld/glibc-build/stdlib/wctomb.os] Error 1
make[2]: Leaving directory `/var/services/homes/abhi/ld/glibc-2.15/stdlib'
make[1]: *** [stdlib/subdir_lib] Error 2
make[1]: Leaving directory `/var/services/homes/abhi/ld/glibc-2.15'
make: *** [all] Error 2`
How do I solve this error. Any pointers or suggestions will be highly appreciated.
Thanks
There is a reported bug with GCC 4.7 on Debian distro bug because of which this and other variants of this bug occurs(another is with math library).
-> Work around was to download and install GCC 4.8 (this can only be done by building from source on 12.10 Quantal currently) and then using that to build glibc.
I tried to install AVR development platform for mac from this site
http://www.ladyada.net/learn/avr/setup-mac.html
Option 3. Old style, 'by hand' compilation
But I have an Error, Here is the error
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [cc1] Error 1
make[1]: *** [all-gcc] Error 2
make: *** [all] Error 2
is anyone can help me?
Looks like you're not setting your compiler to the avr-gcc you've (presumably) built. Set: CC=arv-gcc in your shell, or pass it to a configure script with:
env CC=avr-gcc ./configure ...
Just try another AVR that works in the other mac, I had this problem and it's working for me now.