473,322 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

statically link with third-party C++ libary

sam
Hi,

After compiled and linked with a third-party C++ library ACE in FreeBSD
5.4, apart from copying my program over, I found that I also need to
copy the libace..so.5.4.1 file to the target system as well.

I found somewhere in the internet mentioned that I can compile the
program static link with ACE, but it didn't describe the detail of how
to do that in Unix.

Can anyone please tell me how to static link a C++ program with a
third-party C++ library like ACE in Unix?

Thanks
Sam
Jul 23 '05 #1
2 1953
sam wrote:
[...]
Can anyone please tell me how to static link a C++ program with a
third-party C++ library like ACE in Unix?


Please ask in a Unix newsgroup. This is not a language question.
Jul 23 '05 #2
comp.soft-sys.ace

Jul 23 '05 #3

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

Similar topics

0
by: Schraalhans Keukenmeester | last post by:
I have successfully linked php statically to Apache 1.3.xx (on SuSE9.2) I used the --with-apache option which gave me a directory under the apache install tree where the includable files sit. ...
2
by: oxblood | last post by:
Hi, I'm trying to statically link a library I creat with 'ar rcs mylib.a .o files....' If I link only the .o files with my .c file, I get no compile error and the program runs fine. But if I...
1
by: Jason | last post by:
Is it possible to compile an unmanaged C++ app statically? So the user doesnt require the correct framework version installed? If so how? Jason
3
by: Jeff Stewart | last post by:
Is it possible, in VB.NET 2003 Standard, to link referenced DLLs statically, so I only have to distribute a single executable? -- Jeff S.
7
by: Lee Crabtree | last post by:
I'm starting work on what will eventually be a very, very LARGE project. A lot of the project involves taking C/C++ class libraries and wrapping them with managed C++. I'd like to minimize the...
8
by: bonk | last post by:
Is it generally OK for an EXE that has MFC linked statically to load an use another DLL wich has MFC linked as shared DLL ? To be more specific: I have an EXE that links a lib. Let's call it...
2
by: google | last post by:
I statically link the Synopsys Milkyway C-API library ("MDA") into my C++ application. When my C++ application throws an exception, it seg faults instead. The details of my environment are:...
3
by: Ralph Butler | last post by:
Hi: I have searched the docs and google but have not totally figured out how to accomplish my task: On a linux box, I want to compile and link python so that it uses no shared libraries, but...
8
by: Gilles Ganault | last post by:
Hello I need to compile PHP5 with SQLite statically and without PDO. I don't need DB-independence, so it's fine using sqlite_*() functions instead of PDO. 1. I've downloaded, compiled, and...
12
by: tvnaidu | last post by:
I am getting this link error, I am using mongoose web server with Linux, any idea?: mongoose.c:3114: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.