LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-14-2015, 09:03 PM   #1
jobart08
Member
 
Registered: Sep 2014
Posts: 74

Rep: Reputation: Disabled
Problem installing GSOAP


Im trying to install gSOAP on RHEL 7. Google doesnt seem to have the answer when I search "/bin/ld: cannot find -ly"

[root@BDOULXU459 gsoap-2.8]# make
make all-recursive
make[1]: Entering directory `/home/b014002158/gsoap-2.8'
Making all in gsoap
make[2]: Entering directory `/home/b014002158/gsoap-2.8/gsoap'
make all-recursive
make[3]: Entering directory `/home/b014002158/gsoap-2.8/gsoap'
Making all in .
make[4]: Entering directory `/home/b014002158/gsoap-2.8/gsoap'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/b014002158/gsoap-2.8/gsoap'
Making all in src
make[4]: Entering directory `/home/b014002158/gsoap-2.8/gsoap/src'
gcc -DWITH_YACC -DWITH_FLEX -DSOAPCPP_IMPORT_PATH=""/usr/share/gsoap/import"" symbol2.o soapcpp2-error2.o soapcpp2-init2.o soapcpp2-soapcpp2.o -ly
/bin/ld: cannot find -ly
collect2: error: ld returned 1 exit status
make[4]: *** [soapcpp2] Error 1
make[4]: Leaving directory `/home/b014002158/gsoap-2.8/gsoap/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/b014002158/gsoap-2.8/gsoap'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/b014002158/gsoap-2.8/gsoap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/b014002158/gsoap-2.8'
make: *** [all] Error 2


Any suggestions? Thanks!
 
Old 12-14-2015, 09:46 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
gcc -DWITH_YACC -DWITH_FLEX -DSOAPCPP_IMPORT_PATH=""/usr/share/gsoap/import"" symbol2.o soapcpp2-error2.o soapcpp2-init2.o soapcpp2-soapcpp2.o -ly
/bin/ld: cannot find -ly
you told gcc to use yacc

but you did not install it or it is not in the normal rhel " /usr "location

as per the error liby is not found
 
Old 12-14-2015, 10:07 PM   #3
jobart08
Member
 
Registered: Sep 2014
Posts: 74

Original Poster
Rep: Reputation: Disabled
I cant find yacc on the repo so I installed byacc.

[root@BDOULXU459 gsoap-2.8]# yum search yacc
Loaded plugins: product-id, search-disabled-repos, subscription-manager
========================================================================== N/S matched: yacc ===========================================================================
byacc.x86_64 : Berkeley Yacc, a parser generator
python-ply.noarch : Python Lex-Yacc

Name and summary matches only, use "search all" for everything.
[root@BDOULXU459 gsoap-2.8]# whereis byacc
byacc: /usr/bin/byacc /usr/share/man/man1/byacc.1.gz
 
Old 12-15-2015, 01:11 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
" .. cannot find -ly" : -ly means liby.a

$ yum provides */liby.a

# yum install bison-devel
.... The package provides one file : /usr/lib64/liby.a



-
 
1 members found this post helpful.
Old 12-15-2015, 01:34 AM   #5
jobart08
Member
 
Registered: Sep 2014
Posts: 74

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
" .. cannot find -ly" : -ly means liby.a

$ yum provides */liby.a

# yum install bison-devel
.... The package provides one file : /usr/lib64/liby.a



-
Thanks! It worked after installing bison.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Axis/C vs gSOAP grob115 Programming 1 01-21-2013 08:49 AM
gSOAP g++ building error HarryBoy Linux - Newbie 4 09-04-2012 08:21 AM
GSoap WS Security Plugin Compilation / Linking help rross Programming 0 08-26-2010 10:41 AM
gSOAP problems with nested functions Mq2004 Programming 0 03-27-2005 04:26 AM
QT and gsoap bevenl Programming 0 09-29-2004 04:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration