General :: Install Compile And Run Library .a Or .so Files?

Dec 23, 2010

i know how to install software but i don't know

1: how to install library .a or .so files

i: how to install tar.gz i use the method like ./configure. make make install but most of the time i got the message nothing to make .in lots of tar.gz there is no installation document no make file no .configure file that make me quite confused how to install them or run them.now i got sample source code of cuda i got them in tar.gz form when i extract them i found a folder in folder i found folder like c ,doc,shared etc when i open each folder i found more folder n file like that src, doc common ,lib, in these folder i found source code file header files libraries file make files .i don't know how to run this kind of project can the be installed on the system .how to run them they don't have .run file or script they don't have configure file .how to compile them ,how to run them & how to install them

View 1 Replies


ADVERTISEMENT

General :: Compile A C Code Which Uses SSH Library?

Jan 26, 2011

i try to compile a c code which uses SSH library,but i get this error

Code:
libssh.h: No such file or directory

i searched and i found that This happens if a library used for linking is not present in the standard library directories used by gcc.

By default, gcc searches the following directories for header files:

/usr/local/include/
/usr/include/

and the following directories for libraries:

/usr/local/lib/
/usr/lib/

i update my libssh from libssh-0.4.2-1.fc13.i686 to libssh-0.4.6-1.fc13.i686, and there are files called libssh.so.4 and libssh.so.4.0.2 in /ur/lib, but i still can't compile it with this command:

gcc test.c

View 3 Replies View Related

General :: Use Compile File Build Package Without Messing Up Library

Apr 11, 2010

I want to build a package from source using src2pkg, but I don't know how to avoid library miss match. Suppose I have Firefox 3.5.2 on Slackware 13.0 64 and I want to upgrade it to 3.6.2. Last time when I venturesomely installed Firefox-3.6.2-current into my Slackware 13.0, I got library miss match. Thus, instead of upgrading the whole packages to current (which is impractical and cumbersome), I want to build 3.6.2 from source. How can I do this? Is there any guideline how to use src2pkg? Or should I rather use makepkg? Do I need to create a Makefile?

View 7 Replies View Related

Slackware :: 13.0 - How To Compile Libdnet Library

Jan 3, 2010

My system is slackware64 13 and I am having problems during compilation of libdnet library. How to compile this program? I compile like this:
Code:
configure --with-python && make
I know this is not slackware related but I want to give it a try...

View 4 Replies View Related

Programming :: Compile Static Libcurl Library Under Windows ?

Jun 3, 2009

I have been working on this for a long time.

I could get the static libcurl library ( a "libcurl.lib" file and a "curl.h" file), which supposed to be working under Windows.

Yet I tried Visual c++ 6.0 but it wasn't working at all.

Some idea on that ? I don't mind to try MinGW and Dev C++ if it will really work. (Cygwin is not good since it require client to have cygwin.dll in run-time folder).

View 1 Replies View Related

CentOS 5 :: Compile The Fakeroot 1.15 But It Always Failed To Load The Shared Library Libfakeroot?

Jun 7, 2010

I have tried to compile the fakeroot 1.15 on centos 5, but it always failed to load the shared library libfakeroot.so file. I tried compiling 32 as well as 64 bit version of library but always it failed to load the library and give the following error:

ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.

any workaround to get this working?

View 1 Replies View Related

OpenSUSE :: Cannot Compile Or Install Files RPM - Error In The Request

Mar 2, 2010

I can not install files RPM, says there is error in the request.

View 1 Replies View Related

Ubuntu :: SWF Files - GStreamer Encountered General Supporting Library Error

Jan 6, 2011

I have a .swf file that I was going to play, but when I try to open it, totem (which apparently is my .swf program) says "GStreamer encountered a general supporting library error." Now since I know a little bit about linux, I opened up a terminal and redirected the stderr and stdout to a file called "error". Then I read the file and it said:

** Message: Error: GStreamer encountered a general supporting library error.
gstffmpegdemux.c(1243): gst_ffmpegdemux_open (): /GstPlayBin2lay/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/ffdemux_swf:ffdemux_swf0:
Input/output error

So then I interpreted that as meaning that there was a library called "gstffmpegdemux.c" that needed replacing. So I tried using synaptic to replace. Then Synaptic wouldn't let me get the package, Though I could see it existed (I would put up a screenshot, but for some reason it won't let me upload) then I tried aptitude, which claims it doesn't exist, and then apt-get which also claims that it doesn't exist.

View 4 Replies View Related

General :: Compile The .cpp Files And .h Files?

Nov 18, 2010

I am trying to compile the .cpp files and .h files to be able to run a program called PALS. I have like 30 files in a directory (both .cpp and .h) and I do not know if I should just try to compile them all with g++ command.

View 3 Replies View Related

General :: Can't Compile A Driver Without Header Files Present?

Jun 5, 2011

I'm working with a GuruPlug...maybe you've heard of them.I'm trying to get EasyCap DC60 drivers installed on it(easycap_dc60.0.9.tar.gz), but in the README file I see that the "header files" must be present.nfortunately they are not. This little wall wart runs Debian/Lenny, probably some server oriented build.uname -r reports:2.6.32-00007-g56678ecIt boots to RunLevel 2 and stays there, incidentally.I tried apt-get install linux-headers-$(uname -r) but I am told "file not found" or something similar

View 5 Replies View Related

General :: Program Consists Of Header Files, .cpp, .c, \ How To Compile And Run Them?

Aug 12, 2010

I have a program consists of header files, .cpp, .c, a Makefile and need to include the problem instances file (.tim).May i know how to compile and run them? From google, i have heard bout the command make.

View 6 Replies View Related

Ubuntu :: Getting "checking For Library Stdc++ No" When Trying To Compile Ncurses On Lucid

Jun 27, 2010

I do have libstdc++6 and libstdc++6-4.4-dev installed though. I can't seem to figure out why it wouldn't detect it. Is it just a bug in ncurses' configure or what?

View 5 Replies View Related

General :: Downgrade Gcc-version To Compile Mex-files For Matlab - Permission Denied

Feb 22, 2010

I am trying to run matlab 7.7 (R2008b) on my ubuntu 9.10 distribution..the thing is that I am totally new with both matlab and linux and I get the following error message from matlab when I try to run an example mex-function:

>> mex yprime.c
/home/margareta/Desktop/matlab/bin/mex: 1572: gcc: Permission denied

Warning: You are using gcc version "". The earliest gcc version supported with mex is "4.0.0". The latest version tested for use with mex is "4.2.0". To download a different version of gcc, visit [URL] eval: 1: gcc: Permission denied mex: compile of ' "yprime.c"' failed. Error using ==> mex at 213 Unable to complete successfully.

I had gcc-4.4 as default on my pc, so after this error I downloaded an older version (gcc-4.1) and removed with rm the symbolic link in /usr/bin pointing to gcc-4.4 and created a new one pointing to gcc-4.1. Now when I type gcc -v in the terminal it says that gcc is in the packages gcc and pentium-builder, to do an apt-get install. I tried that but than it says that gcc-4.1 is already the newest version. It seems that I have multiple versions of gcc installed but neither the terminal nor matlab can find them.

View 10 Replies View Related

General :: Install Any Graphical Library In The Server?

Dec 2, 2010

I have a non gui server. I just tryed SSH -X and i didnt have to install any graphical library in the server, which is my goal, but except in the lan, its too slow. Im about to install the other ones, but i ask before:

Can i install them if my server doesnt have GUI? If the answer is NO, then, is SSH -X the only way to go?

View 2 Replies View Related

General :: Compile And Install New Kernel 3.0?

Aug 1, 2011

I am gonna compile and install new kernel 3.0?
what is your suggestion?
shall i? on my duo Core? with 2.7 gb ram?

View 1 Replies View Related

General :: Compile And Install Application From Command Line?

Sep 21, 2010

I am going to compile and install my first linux application from the command line. The program is the port scanner program NMAP, and I am looking at the documentation to learn how to do it. I saw this thread [URL], and I just want to make sure I understand what it is I'm doing.

bzip2 -cd nmap-5.35DC1.tar.bz2 | tar xvf -
cd nmap-5.35DC1
./configure
make
su root
make install

"bzip2 -cd nmap-5.35DC1.tar.bz2 | tar xvf -"
Here I am calling the bzip2 program to work with a specified file. look for the file nmap-5.35DC1.tar.bz2 in the current diretory (-cd) and to pipe (redirect) something, this is where I get lost, I think. And I know what x & v mean but not f, or what that has to do with the previous commands.

cd nmap-5.35DC1
Chage to the named directory.
./configure
I assume this is a command?
make
Builds an executable
su root
make install
not sure what the difference is between this and the above.

View 7 Replies View Related

General :: Install / Compile Driver In Ubuntu Kernel?

Apr 5, 2011

How can I install or compile this driver in ubuntu kernel.

View 5 Replies View Related

General :: Install From Repository Vs Compile For Long Term Support

Jun 8, 2010

I'm a Windows admin who does part time Linux server installs. Most of the time I'm asked to deploy a generic Windows server, install a few basic applications and if needed some other applications like Nagios or Zabbix. My question is for long term support, or patching should I be focusing on deploying with repositories to install applications or compile from source? In the Windows world you can patch and update from Windows Update, but is there problems using 3rd party repositories for future updates? Would one of these locations go off line?

View 9 Replies View Related

Programming :: Reading API Files From SO Library

Jul 27, 2010

If we have a .so library elf in linux, will it be possible to find out the APIs supported by it. Or in other words, the functions that can be used along with the argument types and return type.? Note that we dont have any other header files or documentations related to the library.

View 5 Replies View Related

General :: MAKE BZIMAGE Doesn't Work When Compile And Install New Kernel?

Jul 19, 2010

whenever i'm in the process of compiling and installing a new kernel in ubuntu lucid lynx i get an error message when i get to the make bzimage part is there some sort of program that i needed to install first or is there an alternative to doing this.

View 8 Replies View Related

Ubuntu :: G++ And Gcc Can't Detect Standard Library Files

Jun 26, 2010

I was have installed gcc and g++ both 4.4.3 Version They were working fine, but now they suddenly seem to have lost track. Both cant detect standard library files. not even iostream ,fstream. (i have already tried the .h variant) my /usr/local/include/ directory is empty, should not something be there.

View 9 Replies View Related

Ubuntu :: Missing Library Files While Compiling

Aug 18, 2010

I have tried to compile several programs from source code and have into a similar error in each case. I try make the program and I get an error like: fail program confsdefs.h. Reading further into the log file, I see there is a long list of missing library files when I compile something like Samba 3.5.x:

[Code]...

I have searched for dependency information and used apt-get to add anything I can find. How can I identify and find the dependencies for source? I have checked the source documentation though typically does not list required packages. My other question is how to check the path used to locate the libraries? Given the length of the missing library list, I think the problem may be configuring make.

View 2 Replies View Related

Programming :: Patch Binary Files From Different Library?

Jul 2, 2010

I am currently implementing an upgrade system for silent upgrades in my application. I am stuck. I need the code to patch binary files. But I can't find a good third party library. My code is in C# so I would prefer a C# library, but right now I would even go as far as using a library in another language and bind it into my C# code. But I just can't find a good patch/diff library. I must be missing something. Surely there must be some libraries out there that give us the ability to patch binary files?

View 8 Replies View Related

Programming :: Put Header Files For A Shared Library?

Feb 26, 2010

I have written a simple library and ended up with a .so file. I have a header file from writing the code that describes how to use the functions in the source code I have written. I think this .h files needs to be available to other programs that access this code.

I have seen lots of tutorials on how to copy the .so file to the relevant directories and make links with the version number. What I can't find is where to put the header file so that any programs I write to use my new library can access the header.

Hope this makes sense. For example, I might use <stdio.h> normally, I will need to access <mylibrary.h> once mylibrary.so is loaded (as far as I understand!)

It's weird, I've been using C compilers for embedded processors over ten years now and never given a second thought to how libraries and headers work behind the scenes!

View 6 Replies View Related

Fedora :: Shrink Library By Converting All The Flac Files To Ogg

Aug 6, 2011

I've been a Linux user for 5 years, though this I only recently started using RPM based distros. I'm still in my first week using Fedora and I love it. Hats off to the development team. Now, onto my question:

I have a rather large collection of music in three different formats: MP3, OGG, and FLAC. I'd like to shrink my library by converting all the flac files to ogg. However, since I don't want to convert from lossy to lossy, I'm going to leave the mp3s alone. Is there a program that will allow me to do this quickly and easily? I'd prefer a GUI, though I'm comfortable working with the terminal if needed.

View 5 Replies View Related

Ubuntu :: Apt-get Command To Down Load Some Library Files Regarding Graphics?

Jul 17, 2010

I 've been trying apt-get command to down load some library files regarding graphics It is not working properly

View 1 Replies View Related

Programming :: Find Sys/types.h File / Library Files?

Mar 24, 2009

can anyone provide me with the path where i can find the library files. stdio.h, sys/types.h.......

View 4 Replies View Related

Programming :: Find Source Code Of C Library Files In Ubuntu?

Feb 26, 2009

Where do i found source code of c library files in ubuntu.

View 2 Replies View Related

Software :: ./configure Problem For Libsf Library Due To Apparently Missing Libdb Library ?

Aug 4, 2011

./configure script fails to configure libsf. Please check the following last few lines of configure script error.

But find command shows the following;

It seems the file libdb does exist. man dbopen displays man page for dbopen. I also tried to ln -s /usr/lib/libdb.a and libdb.so /lib dir but all were in vain.

View 6 Replies View Related

General :: Install "Athena-3d Widget Library" On Ubuntu?

Jan 30, 2011

Does any body know how to install "Athena-3d widget library" on Ubuntu?

View 1 Replies View Related







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