473,511 Members | 16,830 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

library problems

Hello,

I try to compile a program using lncurves.
Here is the error message i got :
$ g++ ed.cpp -lncurves -o ed
/usr//bin/ld: cannot find -lncurves
collect2: ld returned 1 exit status

However, i checked i have /usr/lib/libncurses.so
How to solve it ?

thanks,

Vincent
Jul 22 '05 #1
4 1192
"Vilvox" <vi****@yahoo.fr> wrote in message
news:39*************************@posting.google.co m...
Hello,

I try to compile a program using lncurves.
Here is the error message i got :
$ g++ ed.cpp -lncurves -o ed
/usr//bin/ld: cannot find -lncurves
collect2: ld returned 1 exit status

However, i checked i have /usr/lib/libncurses.so
How to solve it ?
This is not a question about the C++ language, so
not topical here. But here's a guess:
/usr//bin/ld: cannot find -lncurves


curves != curses. curves != libncurses. Check your
spellings.

If you still have trouble, check support resources
or newsgroups about ncurses. ncurses is not part
of standard C++.

AFAIK, "Curves" is a women's health club franchise. :-)

-Mike
Jul 22 '05 #2
Vilvox wrote:
I try to compile a program using lncurves.
Here is the error message i got :
$ g++ ed.cpp -lncurves -o ed
/usr//bin/ld: cannot find -lncurves
collect2: ld returned 1 exit status

However, i checked i have /usr/lib/libncurses.so
How to solve it ?


Could it have something to do with the fact that one of them is named
libncur[s]es.so and you use -lncur[v]es? You know, every letter of
the name is important...
Jul 22 '05 #3
Victor Bazarov <v.********@comAcast.net> wrote in message news:<Yb****************@newsread1.dllstx09.us.to. verio.net>...
Vilvox wrote:
I try to compile a program using lncurves.
Here is the error message i got :
$ g++ ed.cpp -lncurves -o ed
/usr//bin/ld: cannot find -lncurves
collect2: ld returned 1 exit status

However, i checked i have /usr/lib/libncurses.so
How to solve it ?


Could it have something to do with the fact that one of them is named
libncur[s]es.so and you use -lncur[v]es? You know, every letter of
the name is important...


Where can i find such libraries, please ?
Jul 22 '05 #4
"Vilvox" <vi****@yahoo.fr> wrote...
Victor Bazarov <v.********@comAcast.net> wrote in message
news:<Yb****************@newsread1.dllstx09.us.to. verio.net>...
Vilvox wrote:
> I try to compile a program using lncurves.
> Here is the error message i got :
> $ g++ ed.cpp -lncurves -o ed
> /usr//bin/ld: cannot find -lncurves
> collect2: ld returned 1 exit status
>
> However, i checked i have /usr/lib/libncurses.so
> How to solve it ?


Could it have something to do with the fact that one of them is named
libncur[s]es.so and you use -lncur[v]es? You know, every letter of
the name is important...


Where can i find such libraries, please ?


www.google.com please.
Jul 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
767
by: RTJ | last post by:
I have experienced problems with Oracle OCI library. I was unable to properly link OCI library using gcc. Probably gcc compiler provided with SFU is unable to link native Windows library. Oracle...
6
1555
by: shablool | last post by:
Hi all! The Strinx library is an efficient and easy-to-use string library. It is written in C++, using modern template approach. It uses a class hierarchy to implement a set of string objects...
43
4913
by: Steven T. Hatton | last post by:
Now that I have a better grasp of the scope and capabilities of the C++ Standard Library, I understand that products such as Qt actually provide much of the same functionality through their own...
8
2997
by: Robert A Riedel | last post by:
I have an application that requires a DLL and an executable that uses the DLL, both of which were implemented in Visual C++ using unmanged code. Both the executable and the DLL are linked with...
87
5025
by: Robert Seacord | last post by:
The SEI has published CMU/SEI-2006-TR-006 "Specifications for Managed Strings" and released a "proof-of-concept" implementation of the managed string library. The specification, source code for...
40
2763
by: Robert Seacord | last post by:
The CERT/CC has released a beta version of a secure integer library for the C Programming Language. The library is available for download from the CERT/CC Secure Coding Initiative web page at:...
72
4368
by: jacob navia | last post by:
We have discussed often the proposition from Microsoft for a safer C library. A rationale document is published here by one of the members of the design team at microsoft:...
0
2394
by: drawing in aspnet | last post by:
Question about putting the data layer in a separate class library. I keep reading that the data layer should be separated from the presentation layer and put in its own class library. I am...
0
3959
by: xieml2007 | last post by:
Dear Madam or Sir, I encountered one problem which is quite similiar to the discussions launched at the web site: http://www.thescripts.com/forum/thread280324.html
3
3193
by: S S | last post by:
Hi Are there some known issues using STL with shared library. Recently I got some crash for which the reason I dont see any, and searching on goolge shown some such issues with shared library. ...
0
7242
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7355
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7423
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7510
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5668
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1576
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
781
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
447
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.