Linker fails when compiling fuse files with "undefined reference to `fuse_main_real'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fuse (Ubuntu) |
Invalid
|
Undecided
|
Dimitri John Ledkov | ||
pkg-config (Ubuntu) |
Invalid
|
Undecided
|
Dimitri John Ledkov |
Bug Description
I had a working Fuse application when using Ubuntu 11.04, and I'm 99.9% sure I've
installed everything I need after re-installing Ubuntu 11.10.
I installed libfuse-dev and copied the
/usr/share/
listed at the top of the file:
gcc -Wall `pkg-config fuse --cflags --libs` hello.c -o hello
and it returns:
/tmp/ccYYt1z4.o: In function `main':
hello.c:
collect2: ld returned 1 exit status
libfuse-dev:
Installed: 2.8.4-1.4ubuntu1
Candidate: 2.8.4-1.4ubuntu1
Version table:
*** 2.8.4-1.4ubuntu1 0
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: libfuse-dev 2.8.4-1.4ubuntu1 [modified: usr/share/
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Wed Oct 19 19:00:51 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20111004)
SourcePackage: fuse
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.