Programming :: Gcc Cannot Find FastCGI Libraries

Jan 6, 2010

I've been trying for days now to build my first FastCGI application using gcc.

This is the output:

Code:

I believe I wouldn't have to refer to the lib path, but I added the -L flag to be sure.

The directory /usr/lib includes (among others) these files:

Code:

I have tried to follow these instructions. The files in the tar.gz archive provided by FastCGI.com no longer corresponds to the instructions there, but I was still able to run the ./configure and make commands so I believe FastCGI is installed.

But why can not the library be properly linked to? Really hope you can help me out on this one!

View 2 Replies


ADVERTISEMENT

Software :: Cannot Find Mpicc Libraries

Jan 6, 2011

I am trying to compile some software written by a colleague in the lab that uses mpicc. When it is compiled on his account, it works fine, but fails on mine (on the same machine). When I type simply

>mpicc

I get the error

/usr/lib64/mpi/mpi-openmpi-intel/usr/bin/mpicc: error while loading shared libraries: libintlc.so.5: cannot open shared object file: No such file or directory

I am hesitant to mess around in .bashrc or .aliases before I have a little more information.

View 4 Replies View Related

Debian :: Find The System Libraries Online?

Sep 14, 2010

I accidentally deleted one of the libraries in /lib or /usr/lib and now when I boot into Debian, it won't load the GUI. I get an error message saying that something failed because the library needed did not exist (I couldn't read it because the text was scrolling by so fast, so I don't know exactly what it said). I need to find an archive or something of all the system libraries for Lenny so I can reinstall them. Is there a place online where I can download them?

View 7 Replies View Related

Debian Configuration :: Programs Can't Find Libraries

Jun 24, 2015

As title says, running unetbootin throws this error [URL]...... I can easily find the files myself (go to synaptic > look at installed files > scroll down) and I can't remove/purge because they would require me to remove some important software (XFCE).

FIX: Required some more 32 libraries.

View 6 Replies View Related

Fedora :: Where To Find The Qt Libraries - Building An Rpm Failed

Apr 5, 2010

where can i find the qt libraries..?? building an rpm failed.

Code:
checking for Qt libraries... no :-(
configure: error:

I can't find the Qt libraries. It is recommended to set the QTDIR environment variable. Install the Qt libraries, or if you have them installed, override this check with the --with-qt-libraries argument, and I'll take your word for it. i got qt and qt-devel

View 7 Replies View Related

General :: Libraries - App Doesn't Find A .so File?

Aug 4, 2010

I have just downloaded, configure'd, make'd and make install'ed the Google Log Library to my computer. It built all required files (as far as I can see) and copied the .so file (libglog.so.0.0.0) to /usr/local/lib. Then it created two symbolic links called "libglog.so.0" and "libglog.so" that point to that shared object file:

lrwxrwxrwx 1 16 /usr/local/lib/libglog.so -> libglog.so.0.0.0
lrwxrwxrwx 1 16 /usr/local/lib/libglog.so.0 -> libglog.so.0.0.0
-rwxr-xr-x 1 498381 /usr/local/lib/libglog.so.0.0.0

Now I'm trying to execute a program that uses the library, but when I start it, I get the error message that it can't open the so-file:

cloud:/home/blam/redirector/redirector2# ./redirector ./redirector: error while loading shared libraries: libglog.so.0: cannot open shared object file: No such file or directory

/usr/local/lib is included in my /etc/ld.so.conf file, and another library that's located in this directory is loaded correctly.

View 1 Replies View Related

Ubuntu :: Program Find The 32-bit Libraries On A 64-bit System?

May 19, 2010

A 32-bit program (Cisco AnyConnect VPN Client) appears to be trying to load a library from /usr/lib even though the 32-bit library is installed in /usr/lib32:

ak@myo5a:~$ /opt/cisco/vpn/bin/vpnui
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so

[code]....

View 7 Replies View Related

General :: FastCGI And Cgi-bin Which Are In Layman Terms?

Dec 7, 2010

Can someone explain what FASTcgi and /cgi-bin are in layman terms? I'm having a hard time understanding reading all the google posts.

View 3 Replies View Related

Server :: How To Remove Installed FastCGI

Apr 24, 2011

I just installed fastCGI with this guide is quite short and now i want to undo all that changes.. can some one guide me with the steps to do it?

This is the install:

So far i leave this file empty so the module is not loaded.. bou i like to remove it completely from my system

View 5 Replies View Related

Server :: FastCGI And Apache Not Loading Pages

Jul 9, 2011

I am trying to set up my Apache server with FastCGI as the CGI engine. It will be mostly running PHP, but I may add Perl or something else later. I started from a completely fresh install of Ubuntu 11.04 with every update available. I used the install CD to install a LAMP server as part of the system install.I am using the tutorial at URL...to add the FastCGI functionality. I am having some problems with getting everything to work.The first problem was that apache2-suexec-custom wouldn't accept a different document root. I fixed that by compiling apache2-suexec from source with the document root changed to the correct path.

The next problem is that every php page I load throws a 500 error. Apache's error logs show that FastCGI isn't returning the page data correctly to Apache.

View 1 Replies View Related

Ubuntu Installation :: Could Not Find Platform Independent Libraries <prefix>

Oct 13, 2010

I ran 'sudo apt-get install python', which completed successfully. According to [URL] this should have created the directory /usr/lib/python2.6, but I do not see any such directory.This is causing problems:

$ python
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]

[code]....

I've tried 'apt-get purge python' and then reinstalling but this has not resolved the issue.

View 6 Replies View Related

Ubuntu :: Unable To Find X Libraries When Configuring Firefox With Intel C Compiler

Apr 5, 2010

I'm using Karmic 64bit.

I tried to build firefox with PGO using Intel C Compiler (icc), but, configure gave this error message.

Code:
configure: error: Could not find the following X libraries: -lX11 -lXext -lXt
*** Fix above errors and then restart with "make -f client.mk build"
When I tried it using gcc, there's no error msg. What can I do?
My .mozconfig file is...
Code:
export CC=icc

[Code]....

View 2 Replies View Related

Programming :: C++ Pdf Libraries

May 24, 2010

Im doing a project,in which i have to add a script in c++ inorder to merge two or pdf files page by page or based on some headindgs.SO anyone can please suggest me any open source pdf libraries in c++ which provide functions for merging and splitting.

View 3 Replies View Related

Debian Hardware :: Unable To Find Suitable Destination To Install 32-bit Compatibility Libraries

Feb 24, 2016

I am trying to install some NVIDIA drivers on my machine. I went through the process and got this message:

Code: Select allWARNING: Unable to find a suitable destination to install 32-bit compatibility libraries. Your system may not be set up for 32-bit compatibility. 32-bit compatibility files will not be installed; if you wish to install them, re-run the installation and set a valid directory with the --compat32-libdir option. URL...Where in I ran this in the terminal to create the 32-bit document tree.

Code: Select allsudo apt-get install ia32-libs

E: Package 'ia32-libs' has no installation candidate.

I really just want to get these NVIDIA drivers up and running. I already installed and updated the headers to just be able to half-way install the drivers (the second monitor works now).

View 6 Replies View Related

Programming :: Using Binary C++ Libraries?

Feb 21, 2011

I am learning C++ and wish to include some Boost functions in my code. My machine is running Debian Linux with the pre-installed boost binarys.I have a couple of questions:How do I include the library in my C++ code as there are no cpp or h files only binary files (eg /usr/lib/libboost_regex-d.so and /usr/lib/libboost_regex-d.a)How do I comile the code. I am using DialogBlocks for creating forms using wxwidgets. The editor also compiles the code using the gcc compiler. Do I have to give an instruction to the compiler saying which file is requried and where to find it? If so, any ideas how this is done?

View 4 Replies View Related

Programming :: Link Static Libraries With Gcc

Oct 15, 2010

I am stuck with a problem to link static libraries with gcc. There is no problem with source files since I am able to compile in a machine where the static library is installed. I am compiling with the following: Code: :~/Emotion/pjproject-1.0.3/third_party 157% gcc -Wall -I/portaudio/include -o rec patest_record.c -L./lib -lportaudio-x86_64-unknown-linux-gnu

[Code]....

View 5 Replies View Related

Programming :: Adding Gtk Libraries To Eclipse Using C

Jan 30, 2010

So I decided to take my first steps into programming with C + gtk. So far I have doneI loaded eclipse and ensured I had the cdt package Created a new C/C++ project called "play" Added a new source file called "Playfullsrc.c" Added the following to paths and symbols (output of the command: pkg-config --cflags gtk+-2.0)

Code:
/usr/include/gtk-2.0
/usr/lib/gtk-2.0/include
/usr/include/atk-1.0
/usr/include/cairo
/usr/include/pango-1.0
/usr/include/pixman-1
/usr/include/freetype2
[Code]....

added "/usr/lib/libgtk-x11-2.0.so" to GCC C Linker Libaries (I have cheacked and this file exists) When I build the project I get the error message "cannot find -l/usr/lib/libgtk-x11-2.0.soplayline 0C/C++ Problem" I have been following this tutorial: [URL]

View 2 Replies View Related

Programming :: Creating C++ Shared Libraries

Apr 4, 2010

I have 2 questions... I couldn't find answers by Googling (more precisely, by Blackling) and in GCC documents, so I'm asking here.

1. There are 2 flags for position independent code, -fpic and -fPIC. All the examples I read use -fPIC... so when is -fpic useful and what is the difference?

2. Some tutorials use "g++ -shared" while others use "ld" for the creation of the shared library. Why? Does it matter which method I use? Is there a difference? Why does nobody mention both options?

View 11 Replies View Related

Programming :: Use 32 Bit C Libraries On 64 Arch Sysem?

Apr 11, 2010

Just what it says in the title.

I can work in a 32-bit VirtualBox VM, but it's very inconvenient and I would rather work in my 64-bit desktop if that's not too difficult.

These are all the lib32 packages I have installed code...

View 14 Replies View Related

Programming :: Dynamically Loading Libraries In GNU?

Oct 22, 2010

This post isn't really asking for a tutorial, but rather asking for some ideas. I've come up with a few ideas, but they seem cumbersome and unnecessary, so I was wondering if someone with more experience than me could out. Also, my explanations suck, but I'll try to do my best. So say I have an executable called X. At some point during its execution, X loads and uses (using dlopen and dlsym) a library called Y. In Y, there a bunch of functions that call the function called, for example, void *special_malloc (size_t). These functions come from another linked library (linked during compilation) called Z. Problem is, special_malloc contains some static variables within its scope, and when those variables are reset midway through a program, an invalid free occurs (special_malloc uses garbage collection). Now, what I want to happen is that whenever lib Z calls special_malloc, it instead calls the special_malloc defined in the executable X, so that these static variables are retained. Keep in mind that I have control of the Z library, meaning I can edit the source to fit my needs.

View 2 Replies View Related

Programming :: Trying To Use Libcurl And Curlpp Libraries In Program?

Jul 21, 2010

I'm using debian and, though i'm new to c++, i'm writing a program using it which needs some HTTPs functionalities . I found these libcurl libraries could help me but I haven been able to use them from my program. I installed them (power trio configure -make -make install ) but i guess i'm doing something wrong ... i feel like i should copy or link them somehow in my project (besides the include sentences in my code). I hope you could give me a hand with this im quite lost

View 9 Replies View Related

Programming :: Read DNS Informaton Using Sockets And C Libraries

Jun 9, 2010

I am using the API libpcap in order to filter the traffic of the port 53 from my PC ro other PCs, in other words the DNS traffic.I want to get more information about the DNS traffic that is being sent to the DNS server, in other words the queries. So far I have no idea how to read the information data or payload of the UDP package in order to read the content of the traffic for example if there is any PTR, A, MX, etc Resource Record.According to the RFC 1053 there is a header that is possible to use in order to easily get this info.

View 5 Replies View Related

Programming :: Dynamic Memory Across Shared Libraries

Jun 1, 2009

Any good tutorial on sharing dynamically allocated objects across shared libraries in the same process and between shared libaries and main(). In particular, I need to know what creation and destruction sequences are valid when libraries are being loaded and unloaded. For example, is it valid to allocate an object from inside a shared library procedure, and then delete that pointer from a different module, especially in the case where the allocating module has already been unloaded.

I imagine there might be all kinds of problems with this. Although my preliminary tests seem to work most of the time, I get crashes from time to time, but I'm not sure if they're caused by memory management or by threading issues. I've been restructuring my code to use a global context object to manage object creation and destruction from main(), but I'd like to find a clear exposition of the specific issues I'm dealing with before I go too much further.

View 4 Replies View Related

Programming :: How To Attach New C Header Files And Libraries

Mar 10, 2010

I have been a predominant Windows user for a long time but shifted to Ubuntu recently. I was just trying out a few basic C functions when i realized that the "conio.h" header file isn't included in the libraries and therefore i was unable to use the "clrscr()" function.

I downloaded a tarball which contained the necessary library and header files including conio.h. Once extracted, i specified the location and included in the program as " #include "path to the header file" ".

I still didn't call the "clrscr()" function, and it compiled successfully. Next i edited the program to call that function and it gave the following error...

How i can add new libraries in the future?

View 14 Replies View Related

Programming :: Random Libraries Are Not Directly Executable?

Jun 30, 2011

Since I read that executing a library could return its version number, I ran "/lib/libc.so.0" on uClinux, but it triggers an error.I'm told that random libraries are not directly executable. Does someone know what a random library is?PS: In case that matters, here's the short version of the error:

Code:
Undefined instruction
<5> - May be used to emulate instructions that are not defined for

[code]....

View 2 Replies View Related

General :: Use Always The Latest Versions Of The Libraries And Don't Save The Old Libraries For Compatibility?

May 11, 2011

Why many Linux distros are trying to use always the latest versions of the libraries and don't save the old libraries for compatibility? I mean, I can see libtiff for example, i can found a libtiff.so.5 on my /usr/lib, but doesn't store a libtiff.so.4 or 3 just for binary applications or games. For this example, I need libtiff.so.4 for uplink.

That should happen too on the old version of sims for linux, some ID games or others.What's wrong with storing old libraries? PD: Yay, my first post on 3 years!

View 6 Replies View Related

Programming :: Cyclic Dependency When Using Extern Symbols From Libraries

May 4, 2010

I have a shared library (built from C++ code) and a separate C program which calls (extern) functions from the said library.

Also one of the functions in that library needs to call a function in this C program by declaring it 'extern'. This sort of creates a cyclic dependency.

I am getting "unresolved references" error, as expected.

View 3 Replies View Related

Programming :: Eclipse Helios / C++ - How To Include Boost Libraries

Apr 5, 2011

I use OpenSuse 11.3, Eclipse Elios for C++. What do I have to do for using boost? I put #include <boost/regex.hpp>, but it can't find the file. What variable do I have to use?

View 3 Replies View Related

Programming :: Linking Application To Open Source Libraries

Feb 10, 2011

I would like to ask you something about open-source and linux. Is it possible to make a commercial application for linux and sell it compiling it with linking to open-source libraries without altering them and consequently without allowing download of the source code and without making the application itself free?

View 3 Replies View Related

Programming :: GNU Make - System Libraries And File Permissions

Jan 27, 2010

I am trying to compile a C++ source file into a static library using make with root privileges (i.e., using "sudo"). However, I "sometimes" get the following compilation error:

Code:
g++ -Wall -g -fPIC -W -c /home/project/ether/src/packet-ethernet.cc
ar -cvq libether.a /home/project/ether/src/packet-ethernet.o
ar: /home/project/ether/src/packet-ethernet.o: No such file or directory
make: *** [libether.a] Error 1

I checked /home/project/ether/src folder to see if packet-ethernet.o in fact does not exist, and saw that it is actually located there, but its owner is "root", which is different from the current user. If I change the owner of packet_ethernet.o from root to the current user using "chown" command and execute make again with sudo, everything seems to be fine.

It may be a coincidence that I recently migrated to 64-bit platform from 32-bit, and then installed libboost-filesystem1.40-dev. After that, I began to experience such errors. I have "never" come across such a compilation error before. Even though I completely removed libboost-filesystem1.40-dev afterwards to see if it causes the problem, nothing changed.

After migrating to 64-bit and installing libboost-filesystem1.40-dev, my application exhibited another "weird" behaviour such that it produced "hidden" files using mkdir() system call, which were previously created as regular ones on the filesystem. Can compiler options that I use cause such problems? Is it possible that libboost-filesystem1.40-dev overwrote some system libraries so that I am getting such errors ?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved