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?
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.
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?
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.
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.
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?
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.
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.
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!
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?
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.
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.
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.
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.
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?
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:
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?
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
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'
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".
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:
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.
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.........