ld: fatal: relocations remain against allocatable but non-writable sections


 
Thread Tools Search this Thread
Operating Systems Solaris ld: fatal: relocations remain against allocatable but non-writable sections
# 1  
Old 05-21-2008
ld: fatal: relocations remain against allocatable but non-writable sections

Hello everybody.

I've got a problem installing libssh2-0.18

Configure is done without any errors :
./configure --prefix=/home/tdallagn/modap/libssh2 --with-openssl=/home/tdallagn/modap/openssl

But the "make" command fails :

Code:
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libssh2.la'
Current working directory /tmp/libssh2-0.18/src
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /tmp/libssh2-0.18/src
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='src example tests docs'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'


How can I fix this problem ?

I have no "root" access so I work in my home directory.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. What is on Your Mind?

PHP Fatal Errors During SSL Cert Management - PHP Fatal error: xc_fcntl_mutex failed

Today, I noticed some errors in our SSL cert renewal log files, mostly related to domains where the IP address had changed. Concerned about this, rebuilt out SSL cert, which normally goes well without a hiccup. However, for today, for some reason which I cannot explain, there was a PHP error... (0 Replies)
Discussion started by: Neo
0 Replies

2. Shell Programming and Scripting

Search for duplicates and delete but remain the first one based on a specific pattern

Hi all, I have been trying to delete duplicates based on a certain pattern but failed to make it works. There are more than 1 pattern which are duplicated but i just want to remove 1 pattern only and remain the rest. I cannot use awk '!x++' inputfile.txt or sed '/pattern/d' or use uniq and sort... (7 Replies)
Discussion started by: redse171
7 Replies

3. Solaris

/dev/null not writable

Hi, after a server (solaris 10) got rebooted, Im faced with the problem that in one of my zones (whole zone) /dev/null is only writeable for root crw-r--r-- 1 root sys 13, 2 Jul 8 10:16 /dev/null Unfortunatly chmod didnt help at this point and since its a productive system I dont... (11 Replies)
Discussion started by: bin-doph
11 Replies

4. UNIX for Dummies Questions & Answers

lpstat print queue remain SENDING status

Hi All, When I type the following command: lpstat -pthcgl240 I get the following : Queue Dev Status Job Files User PP % Blks Cp Rnk ------- ----- --------- --- ------------------ ---------- ---- -- ----- --- --- thcgl24 @CGBP SENDING 636... (0 Replies)
Discussion started by: nj1986
0 Replies

5. UNIX for Advanced & Expert Users

writable protected file

Greetings I am trying to create a solution that will log information into a file. That is the easy part. What I am trying to do is have a front end script that ill ask a user what their reasoning is for logging in and log that reason into a file. The hard part I am finding is that I need that... (10 Replies)
Discussion started by: Smoker
10 Replies

6. Shell Programming and Scripting

delete and remain 2 value

Hello Friend, I have the followint command to delete 4th field and move forward. Can I delete all filed and just remain the first 2? sed -e "/^*<Number/s/\(\) \(\)/\1\2/g" -e "/^*<Number/s/\(\)./\1/" -e "/^*<Number/s/\(\)/\1 /g" -e "/^*<Number/s/0</</" file input <Number>00000000<Number>... (5 Replies)
Discussion started by: happyv
5 Replies
Login or Register to Ask a Question