The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
extract multiple sections of a file rgentis UNIX for Advanced & Expert Users 1 03-18-2008 08:40 PM
make a recovery CD/DVD - system has no writable devices stevek007 AIX 0 09-17-2007 06:08 AM
delete and remain 2 value happyv Shell Programming and Scripting 5 05-25-2007 05:57 AM
How to find world writable files? (AIX) matifr AIX 1 01-19-2006 11:29 AM
how to check whether a directory is writable ropers Shell Programming and Scripting 14 03-22-2004 12:44 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
  #1 (permalink)  
Old 05-21-2008
tdallagn tdallagn is offline
Registered User
  
 

Join Date: May 2008
Posts: 1
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:18 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0