Ubuntu :: Linker Error: Cannot Find LXmu (whereas It's Installed)
Feb 16, 2011
I'm trying to compile a file with the following line :
Code: gcc lesson2.c -o lesson2 -I /usr/X11R6/include/ -L /usr/lib/ -L/usr/X11R6/lib/ -L /usr/X11R6/lib64/ -lglut -lGL -lGLU -lX11 -lXmu -lm But i got the error : /usr/bin/ld: cannot find -lXmu
I'm using this to compile a simple OpenGL file, and if I remove lxmu (and lxi, wiche gives me the same error), it got the all clear, but when I tun my program, I got an "Segmentation fault" error (I think because of the missing librairies)... When I did a locate libXmu :
[Code]...
View 2 Replies
ADVERTISEMENT
Feb 10, 2010
I have been struggling to install courier-authlib. I have tried several version from 0.55 to the latest and I keep receiving the same error.
Linking libauthvchkpw.la
/usr/bin/ld: cannot find -linker
collect2: ld returned 1 exit status
make[2]: *** [libauthvchkpw.la] Error 1
[code]...
I have been googleing for the past week to try and resolve this with no joy. any help would be greatly appreciated. I am installing on CentOS 5.3 with config options as follows...
./configure --prefix=/usr/local --exec-prefix=/usr/local --with-authvchkpw --without-authldap --without-authmysql --disable-root-check --with-ssl --with-authchangepwdir=/usr/local/libexec/authlib --with-redhat
and when I run the make commands I receive the peceeding errors (above)
View 3 Replies
View Related
Aug 11, 2010
I am using a arm compiler to build my program but getting following compiler error at the end -
init.c.text+0x2c): undefined reference to '__libc_csu_fini'
init.c.text+0x34): undefined reference to '__libc_csu_init'
View 1 Replies
View Related
Jul 9, 2010
I have a simple C program which uses ncurses library and I am having linker issues and couldn't get the program to link.
[Code]...
So I think the ncurses libraries are in place but gcc still couldn't link. I am totally stumped.
View 3 Replies
View Related
Jan 11, 2010
I am using OpenSuse 11.2 which I just installed. I was working on one QT application in OpenSuse 10.3 with few KColorButton in it and it was compiling fine under that dist. Now after copying the project to 11.2 environment , I can't make the project. It's now throwing linker error :
[Code]....
View 2 Replies
View Related
May 5, 2011
I am getting a linker error for a simple program to represent a singleton class.
Find below the program which I have written:
View 3 Replies
View Related
Apr 22, 2010
I am trying to compile a software using a provided sdk. I suspect that the sdk has some mismatch of the platform library, but I am not sure.
The error I got is
Code:
The libidata.so.42 is there in that folder. I guess the file might be in a big endian. Is there a way to check if the libidata.so.42 i have might be a big endian format, rather than little endian?
If my guess is incorrect, This is a c++ code on fedora x86 machine.
View 4 Replies
View Related
Jan 16, 2011
Recently I have downloaded TBB and I want to run a program using its libraries. But I encountered the following error: Linker: fatal error LNK1104: cannot open file 'tbb_debug.lib'
View 1 Replies
View Related
Dec 14, 2010
Iv installed ubuntu 10.10 onto a usb 4gb pen. EVerything works fine. However I then wanted to encrypt the USB using truecrypt inside ubuntu and got an error message telling me it could not find some file. I then installed virtualbox onto the ubuntu this installed fine,i then installed windows xp and after completion clicked save the state. I then restarted ubuntu and when it loaded up again the virtualbox and windows xp had been deleted. Iv tried this twice just to make sure but same thing both times.
View 9 Replies
View Related
Jul 30, 2010
I am facing some problems when i am trying to link using g++. The linker error text is "undefined reference to `std::vector<std::string, std::allocator<std::string> >::end()'"
View 3 Replies
View Related
Jul 22, 2011
I am having issues with 3d I am trying to start up a game called auteria but it displays this error "Could not find a compatible opengl display resolution. Please check your driver configuration. (Error: Couldn't find a matching GLX visual)" I am on ubuntu 10.10 could anybody give me a solution on how to fix this issue?
View 5 Replies
View Related
Feb 18, 2010
I'm using Ubuntu 9.10 and previously had a separate partition with another distro on it. I decided to delete the other distro's home and swap partitions and install XP in place of it. I've been following these instructions: [URL] and [URL] I have gotten to the point where I am booting to the XP CD and want to install it, but I get the message, "Setup did not find any hard disks installed on your computer" when I should be getting to the screen that asks me to select a partition to install XP on. This is what my HDD looks like in GParted:
I want to install XP in the unallocated partition, but I have a feeling I screwed up somewhere along the way and probably don't fully understand the whole thing. Even if I try to format the unallocated partition to NTFS I can't make it a primary partition (I assume because it's within sda2). The very last thing I want to do is delete my Ubuntu partition and start from scratch, but if that's my last option let me know.
View 4 Replies
View Related
Apr 7, 2011
In linking a library in using GCC.
I am compiling Pro*C code.
When the maKe file start compiling if prints following :
Code:
I tried different options but unable to find the reason why it is not linking the libraries correctly.
View 3 Replies
View Related
Feb 16, 2011
install a newly compiled linker as the default linker on my VM running Ubuntu. I compiled and installed a new custom kernel on my VM (linux-2.6.36) and also compiled (not install) a custom gnu c library (glibc-2.11.2) on the newly installed custom kernel. I am able to run a simple helloworld.c program to verify that my program worked successfully using the newly build dynamic linker in the /elf directory.
I want to replace the real linker inside /lib with the new linker that I compiled. I tried to make the soft link named ld-linux-x86-64.so.2 that originally points to the real linker file ld-2.11.1.so, point to my newly compiled linker, but my VM crashed. I also tried moving the compiled linker and wrote it over the original linker, and the VM crashed. None of the commands worked after that as they could not access any of the shared libraries and I received this error '/bin/bash: No such file or directory'. I also tried to change the LD_LIBRARY_PATH to point to my linker and did not have any luck there either.
View 2 Replies
View Related
Oct 13, 2010
I first found something called lds(linker script) file.
And now I am willing to do a test with __attribute__((section)) to make a function stay in a private section. Sounds fun to me.
Part of my source code looks like this
By objdump, I didn't find a section called "my_own".
View 2 Replies
View Related
Oct 2, 2010
I need to compile a program and make it portable to other computers, but it needs some external libraries and I don't want them to be linked dynamically, I would like to compile them as one single executable or at least compile them in the same directory as the main output files. The program is sphinx>, it has its own configure and make scripts. I know I can run g++ with the -static flag, but I don't know how to do this with make or configure. This is the ./configure --help output
[Code]....
View 1 Replies
View Related
Jul 6, 2010
I am having trouble linking the pthread library.I have -lpthread -lm as options for the GNU GCC compiler.
Build Log
Compiling: main.c
Compiling: matrix.c
[code]...
View 2 Replies
View Related
Aug 21, 2011
I've got a setup where I need to use 'find' to find 0 or more files in a certain directory, however, 'find' always produces an error when there are no files that match a certain check. Is it possible to run 'find' while having it omit errors when no files match the pattern?
View 2 Replies
View Related
Apr 21, 2011
I can't get any updates for my system and keep getting the errors shown below, and suggestions peeps?
E: linux-image-2.6.28-11-generic: subprocess installed post-removal script returned error exit status 1
E: linux-image-2.6.28-13-generic: subprocess installed post-removal script returned error exit status 1
E: linux-image-2.6.28-14-generic: subprocess installed post-removal script returned error exit status 1
E: linux-image-2.6.28-15-generic: subprocess installed post-removal script returned error exit status 1
E: linux-image-2.6.28-19-generic: subprocess installed post-removal script returned error exit status 1
View 9 Replies
View Related
Jun 7, 2011
I am trying to recompile a large open source project with the Nvidia Cuda Compiler: 'nvcc' [URL].. nvcc supports all the compile flags that gcc does but not all of the linking options. This shouldn't be a problem however as nvcc generates object files that are compatible with gcc and I should hence be able to compile with nvcc and then link with gcc (linking against the CUDA library).
To compile with nvcc I use:
./configure CC=nvcc
Which successfully creates make files that se nvcc to compile. But the Configuration script does not seem to honor LD=gcc in the same way, ie: ./configure CC=nvcc LD=gcc still tries to link everything with nvcc which promptly fails because nvcc does not support the option '-soname' without which the project will not link correctly. What am I doing wrong? How can tell the config script to link with gcc?
View 1 Replies
View Related
Jul 18, 2011
I am using g++ 4.5.2 I copied and tried a piece simple (Making a Class Writealbe to a Stream) program, from page 363 of book(C++ cookbook), Example 10-6 your can download and test by yourself [URL]
[Code]....
View 1 Replies
View Related
Jun 22, 2010
I need to make some configuration changes to an ftp server running on Ubuntu server 10.04. I don't know which ftp server program is installed, so I don't know where to look for the config files. I know that some server is installed because I can connect to it
How can I determine which ftp server is installed?
View 3 Replies
View Related
Dec 11, 2010
It just goes to a file I have no idea where?
View 2 Replies
View Related
Dec 22, 2010
Toshiba Satellite laptop, Ubuntu 10.04lts
I installed qcad earlier today, using Software Center. Qcad didn't show up anywhere in the Applications dropdown menu. When I was running 9.04, it showed up in the Graphics sub-menu, but it's nowhere. Rebooted, nothing. It shows up as installed in the Synaptic Package Manager, but I went ahead and removed and installed it again, rebooting between each operation. (sigh) Still nothing. Now, I'm sure it's in here, but I can't find it. So, I have three questions:
1. How do I start it (or any program) using command line?
2. How do I find it using my Gnome gui, and put it in the applications menu
and
3. Generally, is there a guide that will explain what I'm looking at when I open my File System directory?
View 8 Replies
View Related
Jun 20, 2011
I have installed SAFECOPY & TESTDISK using Synaptic manager. after installation I can't find the applications in the menu, I am trying to use them. where to find these applications?
View 2 Replies
View Related
Mar 15, 2011
I've been compiling a lot of games recently and most of them requires me to add libX11 to the linker command line. I can't think of nothing but to take a look at the Makefile and add -lX11. It works, but now, I'm compiling from a git repo, and I know the change will removed once I update the my working copy.To make it short, is it possible to add libX11 permanently to the linker command line?
View 7 Replies
View Related
Jun 29, 2010
I am having some trouble when I try to link my custom libraries to target executables. There are two libraries
liba
libb
and an executable exec based on main.o The library libb has some reference to liba. Now if I put the libraries in same directories, I can compile the code as g++ -o exec main.o liba.a libb.a But, if I put the libraries in different directories, say d1 and d2, and use the command as g++ -o exec main.o d1/liba.a d2/libb.a I get an error as undefined reference to some function in liba. I am not sure if I am missing some thing in linking process. Also, if libb doesnot refer any functions in liba, there is no error in either of the case.
View 1 Replies
View Related
Mar 30, 2011
I did a ./configure and make and got this returned about 1/2 hr later:
Code:
undefined reference to `glDisable'
undefined reference to `glDisable'
undefined reference to `glutKeyboardFunc'
undefined reference to `glutSpecialFunc'
undefined reference to `glReshapeFunc'
And the oddest part is.... I passed --disable-gl to configure!
View 4 Replies
View Related
Apr 12, 2010
[code]...
How do I fix this?
View 5 Replies
View Related
Jun 14, 2010
I'm running 11.2 KDE 4.3.5, recently every time I've tried to use the Updater Applet I get this error after choosing to install an update: PackageKit Error internal-error: Installation aborted by user. Then I run YaST to try to manually install the update and get the following error:
Subprocess failed. Error: RPM failed: error: package kwin-4.3.5-0.2.1.i586 is not installed. Really unsure how to fix this but it's only blocking updates/patches, I can download new programs fine.
View 5 Replies
View Related