General :: Linking GPL Apps To Non-GPL Libraries

Jan 20, 2010

I have a library that I have ported from Windows, and is not a derivative work of Linux. The library is subject to copyright law, and I can't disclose the source. I would like to link a GPL application to this library, and want to know if the linking would cause the library to be GPL. If the library becomes GPL, is there some other way (kernel loadable module?) that I can keep my library from becoming a work of GPL?

View 2 Replies


ADVERTISEMENT

General :: Ubuntu 10.04 - Linking To Lua Libraries With Codeblocks

Jun 18, 2010

After I downloaded the source for lua, I followed the install instructions, doing...

make linux install
make generic install

I've also done the make test and it passes, printing out Hello World, from Lua 5.1. However, I can't link to the lua libraries in CodeBlocks. I know where lualib.a is (usr/local/lib) which I set in my Search Directories for the linker. I still get error messages like...

undefined reference to lua_isstring

P.S. I had this running on Windows via Visual Studio.

View 1 Replies View Related

General :: Static Versus Shared Libraries (Linking C Program With GCC)

Mar 16, 2010

I have a third party static library (libSTATIC.a) that I cannot recompile into a shared library. I want to create a shared library (libSHARED.so) that uses the C functions in the static library. Is it possible to do this? In other words, when linking a C program with gcc by using the -shared flag, is it necessary that all all libraries invoked in the program (even low level libraries such as libc for example) be available as shared libraries as well?

View 2 Replies View Related

Fedora :: Linking To X Development Libraries In GTK+

Oct 17, 2010

I am running Fedora 13 on a ASUS G71G Trying to install GTK+ 2.4.8; after installing all the dependencies(Pango, Glib2.0, ATK), I ran ./configure from my GTK+ directory. It configured for a while, then this happened: checking for X... no configure: error: X development libraries not found I tried linking them with PKG_CONFIG_PATH=<path to X lib directory>, but I got the same error message. How do I get GTK+ to recognize the X development libraries? Additionally, does the default build of X11 on Fedora 13 contain the appropriate libraries? Ive included the GTK+ configure scripts as an attachment.

View 1 Replies View Related

Ubuntu :: RHEL GCC Libraries - Versions - Linking ?

Aug 1, 2011

My principle machine is Ubuntu 10.10 (x86_64) with gcc version 4.4.5, but I'd like to run the compiled/linked code from it on a RHEL server release 5.4 with gcc version 4.1.2.

Now, the error at runtime is "version 'GLIBCXX_3.4.9' is not found (required by ./executable)". The server has /usr/lib64/libstdc++.so.6.0.8, but seems to need at least .so.6.0.9. However, the admin of the server will not allow the libraries to be updated as "the entire system is tied to an older version of glibc and forcing an upgrade could break the entire system especially when making the jump across major revisions."

He recommended that I build the newer version of glibc in my home directory and link against the libraries, but didn't offer direction on how.

View 1 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

Software :: Compiling Code - Linking To Libraries Using Different Versions Of C++ Runtime?

May 19, 2011

Basically, I'm trying to compile program A, which depends on LibA and LibB. LibA would not build with my version of G++ 4.4.3 due to a bug, so I've compiled the latest G++ 4.5 (installed in /opt directory) and built that library successfully (also installed in /opt).

I have LibB on my system already, but it was built with the 4.4.3 version. When compiling my final program, am I going to have issues because the .so files were built with different versions of gcc/g++? Or should I just rebuild a special version of LibB with the later version of the compiler just for that program? I can proceed and just see what happens, but I'm a little confused about how things work in a situation like this.

View 2 Replies View Related

Ubuntu :: Download 32 Bit Libraries For 64 Apps?

Apr 25, 2010

How do I know what libraries I'll need for a 32 bit app which I want to install on a 64 bit version of Ubuntu?

eg. imageshack app is currently available as 32 version, cant install it on 64 bit OS.

View 3 Replies View Related

Programming :: Static Linking Versus Dynamic Linking

Apr 18, 2010

I have written an OpenGL based program which uses i.a. libjpeg that I want to link statically so I can send it to someone who doesn't have all the libraries needed installed to allow for a dynamically linked executable to run. As such I tried with giving the [b]-static[b] parameter to gcc.

Code:

x86_1$ make
gcc -O3 -c jpegloader.c
gcc --std=c99 -O3 -c --std=c99 -I/usr/include -L/usr/X11R6/lib main.c

[code].....

Why would gcc claim that I'm missing GLUT? This works perfectly fine when I do dynamic linking -- i.e. omitting the -static argument.

View 13 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

General :: Using Dynamic Libraries As Static Libraries?

May 6, 2010

Is there any way to use a dynamic libraries as a static libraries instead when compiling, so that my resulting executable won't have them as dependencies?

View 3 Replies View Related

Ubuntu :: GNUstep "libraries" Apps Are Broken In 10.10 And 10.04

Oct 18, 2010

I find this extremely strange because it would mean there's a bug in a library but for some reason it's happening and I can't seem to fix it. All software which uses the GNUstep libraries is broken in 10.10 and 10.04, it segfaults upon launch.

[Code]...

View 2 Replies View Related

General :: Undefined References And Linking In WordNet

Jan 19, 2011

I'm writing a C program using WordNet, just a very basic one to test out if everything was working fine, but I'm getting undefined references. I linked to the library and compile with

Code:
gcc prog.c -L/usr/local/WordNet-3.0/lib/libWN.a -I/usr/local/WordNet-3.0/include/
This seems to be the only wordnet library to link to, but I'm still getting the error

Code:
/tmp/cc4C3I3S.o: In function 'main':
prog.c:(.text+0x21): undefined reference to 'is_defined'
prog.c:(.text+0x48): undefined reference to 'findtheinfo'
collect2: ld returned 1 exit status

I feel it must be an error with the way I'm going about trying to link the files.

View 4 Replies View Related

General :: Chroot Not Supporting Dynamic Linking Objects?

Jul 8, 2011

Why can't chroot command be used for dynamically linking objects?

View 1 Replies View Related

General :: Linking Init Script To Specific Rc0.d, Rc1.d Etc Directories?

Aug 20, 2010

I have written an init script which I have kept under /etc/init.d, I need to create links to the directories rc0.d, rc1.d, rc2.d, rc3.d etc.. So that I can use chkconfig command to control the starting and stopping of the script at specific runlevels.

View 4 Replies View Related

General :: Linking Ubuntu To Windows 7 Computer - Both Are Laptops

May 12, 2011

can i link my linux (dedicated) to my windows 7 computer - b0th are laptops.

View 3 Replies View Related

General :: Bash - Mirroring Of Multiple Directories - Hard Linking

Apr 11, 2011

I have 5 FTP users that upload files (and subdirectories) in their home directory, i need to mirror theese directories beetween them and with a "master" directory (accessible from a 6th user). Files can contain spaces or others special caracters. All the files are in the same filesystem, and i want to use hard link because i don't want to waste 5 time the space of a single file. I tried with find but i cannot handle spaces in it.

View 1 Replies View Related

Ubuntu :: Hidden Mimized Apps \ Reach Apps That Minimized Them Self And Are Not Shown In The Top Menu?

Apr 30, 2011

Some minimized apps no longer appear in the top menu and by that are no longer accessible.For example firefox with the minimize addon or Jungel Disk backup service.How can I reach apps that minimized them self and are not shown in the top menu?

View 2 Replies View Related

General :: If The Libraries Are GPL Or LPGL

Jan 12, 2010

I am working on a user space application that I would like to release under the LPGL. I am linking against libraries that I'm not sure if they are GPL or LGPL. Can someone help me determine if the libraries are GPL or LPGL.

For reference I have included a snippet of my gcc command:

View 4 Replies View Related

General :: Add New Libraries To SuSe?

Apr 30, 2011

How do I add new libraries to SuSe Linux?

View 1 Replies View Related

General :: Install X11 Libraries On Red- Hat?

Nov 12, 2010

I am new to linux environment. I need to install libxt-dev ; libx11-dev ; and xorg-dev (xserver-xorg-dev)

My Red Hat Linux Enterprise version is : Linux 2.6.9-5.EL # I think the redhat is enterprise edition 3

View 6 Replies View Related

General :: Dealing With Locations Of Libraries

Mar 7, 2010

What can you do when your linux system "can't find" dynamically linked libraries that are indeed installed in their correct locations? Case in point, I'm trying to run a program called 'ucanvcam':

oliver@human ~/installed/ucanvcam-0.1.6/bin $ ./ucanvcam
./ucanvcam: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
oliver@human ~/installed/ucanvcam-0.1.6/bin $ locate libgd.so.2
/usr/lib64/libgd.so.2.0.0
/usr/lib64/libgd.so.2

oliver@human ~/installed/ucanvcam-0.1.6/bin $ ldd ./ucanvcam
linux-gate.so.1 => (0xf7706000)
[...]
libgd.so.2 => not found
[...]
librt.so.1 => /lib32/librt.so.1 (0xf6b1e000)

How can I tell it to look for libgd.so.2 in /usr/lib64? And more importantly, why isn't it looking there, and where is it looking?

View 1 Replies View Related

General :: Installing Libraries For Cygwin?

Mar 19, 2010

I want to install these libraries in cygwin, how do I do it? are all of them available on cygwin environment or only on linux?

g++ - the version 4.4
graphviz
gnuplot
plotdrop

[Code].....

View 1 Replies View Related

General :: Specify The Location Of Libraries To A Binary?

Sep 25, 2010

I'll be using a specific example, but really this generalizes to pretty much any binary on linux that can't seem to find its' dependent libraries. So, I have a program that won't run because of missing libraries:

./cart5: error while loading shared libraries: libcorona-1.0.2.so: cannot open shared object file: No such file or directory

ldd sheds some light on the issue:
linux-vdso.so.1 => (0x00007fff18b01000)
libcorona-1.0.2.so => not found
libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/libstdc++.so.6

[Code]....

View 2 Replies View Related

General :: How To Install And Interrogate Libraries

Mar 25, 2011

im currently working on openbts,how can i get into the configuration file..its simply written that the config file is found in ./apps directorypenbts.config.but i have an error'No such file or directory'

View 1 Replies View Related

General :: How To Have A Mix Of Linked And Not Linked Files Without Linking Every File

Feb 20, 2010

I've got a shared (Windows/multiuser Linux) laptop, and I've got installed World of Warcraft and some steam games in Windows. With steam games, there is (almost) no problems. I've installed steam in Linux, and soft linked the 'steamapps' directory (per-game compatibility is another issue). With WoW, the problem is different. I would like to have almost (but not) all files. Under World of Warcraft, every file and directory must be linked except the Interface directory and WTF/config.wtf file (so every user can play with their own settings and addons). How can I have a mix of linked and not linked files without linking every file? If I link manually every file/dir, when updating from Linux other users and Windows Wow is not updated; when updating from Windows, new files remains "unlinked".

View 3 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

General :: What Do The Number Suffixes In Dynamic Libraries Mean

Jun 18, 2011

Here's an example:

What do the numbers after so, such as in the last line, 1.1.0 mean?

My first guess was that they are version numbers, but:

So the 1.1.0 does not seem to have any connection to the version of the library, reported to be 2.4.46.

View 1 Replies View Related

General :: Language Learning Software - Libraries?

Oct 28, 2010

I'm cross-posting in order to get as a wider audience to get as much feedback as possible. I am currently studying to learn the ) Gidhlig (Scottish Gaelic language and finding studying by rote out of a book a bit 'limiting'. Because of this, I am thinking about creating a software project which could act as an interactive way to helping me learn the language. I've got a few ideas floating in my head but the direction I want to take is that the software is not an alternative but an aid to be used in conjunction with traditional studying materials. I was thinking possibly small interactive games or exercises that both are fun as well as to test and use the parts of language I have learned. There might also be a bit of reporting to show strengths and weaknesses.

Firstly, the technical specifications, that offhand, I can think of that the project will need to meet:

1. Cross-platform (while I would like it to be just Linux, I have to be realistic that people would rather use Windows)

2. The language data is separate from main program so that the software can be used with other languages.

3. Not too complex so that it is quick and easy to program as I will be doing it myself.........

View 4 Replies View Related

General :: Difference Between Static And Dynamice Libraries?

May 2, 2011

what are libraries and what is the diff between static and dynamice libraries.

View 1 Replies View Related







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