Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Error #67

Closed
scuba323 opened this issue Feb 3, 2015 · 7 comments
Closed

Make Error #67

scuba323 opened this issue Feb 3, 2015 · 7 comments

Comments

@scuba323
Copy link

scuba323 commented Feb 3, 2015

gcc -O2 -g -Wall -W pkg-config --cflags librtlsdr -c dump1090.c
Package librtlsdr was not found in the pkg-config search path.
Perhaps you should add the directory containing `librtlsdr.pc'
to the PKG_CONFIG_PATH environment variable
No package 'librtlsdr' found
dump1090.c:46:21: fatal error: rtl-sdr.h: No such file or directory
compilation terminated.
make: *** [dump1090.o] Error 1

I have RTL_SDR installed

@yuvadm
Copy link
Collaborator

yuvadm commented Feb 3, 2015

I have RTLSDR installed

Your make attempt begs to differ. Did you properly install it with a package manager?

@scuba323
Copy link
Author

scuba323 commented Feb 4, 2015

Yes using gqrx's Launchpad PPA. I have Elementary OS.
See

@yuvadm
Copy link
Collaborator

yuvadm commented Feb 4, 2015

This is an OS specific problem - either a bad PPA, or some local problem on your machine - and I'm not familiar with Elementary OS so I can't help much.

Generally speaking, if you have librtlsdr properly installed, you should be seeing something like this:

$ pkg-config --cflags librtlsdr
-I/usr/include/ -I/usr/include/libusb-1.0

@scuba323
Copy link
Author

scuba323 commented Feb 4, 2015

Package librtlsdr was not found in the pkg-config search path.
Perhaps you should add the directory containing `librtlsdr.pc'
to the PKG_CONFIG_PATH environment variable
No package 'librtlsdr' found

I don't get it. when I try to apt-get, it says latest version

On 2/4/15, Yuval Adam notifications@github.com wrote:

This is an OS specific problem - either a bad PPA, or some local problem on
your machine - and I'm not familiar with Elementary OS so I can't help
much.

Generally speaking, if you have librtlsdr properly installed, you should be
seeing something like this:

$ pkg-config --cflags librtlsdr
-I/usr/include/ -I/usr/include/libusb-1.0

Reply to this email directly or view it on GitHub:
#67 (comment)

Stephen Vanderwarker

@yuvadm
Copy link
Collaborator

yuvadm commented Feb 4, 2015

Please close this ticket, this is not a dump1090 issue.

@scuba323 scuba323 closed this as completed Feb 4, 2015
@JLospinoso
Copy link

JLospinoso commented Jan 22, 2018

@scuba323 You might try installing from source, e.g.:

git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ..
make
make install

@rfilmyer
Copy link

Hint: If you're on a Debian system, you should check if you installed librtlsdr-dev. Not the rtl_sdr tools, not librtlsdr0, but librtlsdr-dev.

steveatinfincia pushed a commit to OpenHD/dump1090 that referenced this issue Oct 25, 2020
Make more functions static
steveatinfincia pushed a commit to OpenHD/dump1090 that referenced this issue Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants