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

[NIGHTLY - ubuntu 24.04] Package gstreamer-app-0.10 was not found in the pkg-config search path. #8257

Closed
sloev opened this issue Jan 16, 2025 · 9 comments · Fixed by #8357
Closed

Comments

@sloev
Copy link

sloev commented Jan 16, 2025

ofx commit sha: dd1d70e
release: of_v20250111_linux64_gcc6_release.tar.gz

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.1 LTS
Release:	24.04
Codename:	noble

$ arch                                                               
x86_64

# after linux/ubuntu install_dependencies...

$ cd scripts/linux
$ ./compileOF.sh    
Package gstreamer-app-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-app-0.10.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gstreamer-app-0.10', required by 'virtual:world', not found
Package gstreamer-app-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-app-0.10.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gstreamer-app-0.10', required by 'virtual:world', not found
makefileCommon/config.shared.mk:316: *** couldn't find gstreamer-app-0.10 pkg-config package or it's dependencies, did you run the latest install_dependencies.sh?.  Stop.
there has been a problem compiling Debug OF library
please report this problem in the forums
@sloev
Copy link
Author

sloev commented Jan 16, 2025

i hope this gets seen and fixed in #8255

@danoli3
Copy link
Member

danoli3 commented Jan 16, 2025

try and run ./scripts/linux/ubuntu/install_dependancies.sh

Need this all auto wrapped to common file or just call of setup or of update of download linux

@sloev
Copy link
Author

sloev commented Jan 16, 2025

I tried the install dependencies step as mentioned but the problem seems that the mentioned gatreamer version is unavaialable in ubuntu 24.04

I think it all comes down to ubuntu 24.04 maybe being absent from gh workflow builds (which seems focussed on 22.04) and therefore these issues dont get caught

@sloev
Copy link
Author

sloev commented Jan 19, 2025

this is simply incredible. i find no way of using openframeworks since no documented methods work (very frustrated)

what i do (on ubuntu 24.04 as said)

  1. download nightly release for linux64
  2. scripts/linux/ubuntu/install_dependencies.sh
  3. scripts/linux/compileOf.sh

and i get

Package gstreamer-app-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-app-0.10.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gstreamer-app-0.10', required by 'virtual:world', not found
Package gstreamer-app-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-app-0.10.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gstreamer-app-0.10', required by 'virtual:world', not found
makefileCommon/config.shared.mk:316: *** couldn't find gstreamer-app-0.10 pkg-config package or it's dependencies, did you run the latest install_dependencies.sh?.  Stop.
there has been a problem compiling Debug OF library
please report this problem in the forums

@danoli3
Copy link
Member

danoli3 commented Jan 20, 2025

yeah package manager is so out of date even gstreamer 1.0 is full of 24 CVE's

I almost got it compiling will sort this out with gstreamer 1.24.0

@danoli3
Copy link
Member

danoli3 commented Jan 20, 2025

and that is linking to gstreamer 0.1.0 from prior 22.04 linux and before. CVE city

@valexey
Copy link

valexey commented Jan 21, 2025

this is simply incredible. i find no way of using openframeworks since no documented methods work (very frustrated)

what i do (on ubuntu 24.04 as said)

1. download nightly release for linux64

2. scripts/linux/ubuntu/install_dependencies.sh

3. scripts/linux/compileOf.sh

and i get

Package gstreamer-app-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing gstreamer-app-0.10.pc' to the PKG_CONFIG_PATH environment variable Package 'gstreamer-app-0.10', required by 'virtual:world', not found Package gstreamer-app-0.10 was not found in the pkg-config search path. Perhaps you should add the directory containing gstreamer-app-0.10.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gstreamer-app-0.10', required by 'virtual:world', not found
makefileCommon/config.shared.mk:316: *** couldn't find gstreamer-app-0.10 pkg-config package or it's dependencies, did you run the latest install_dependencies.sh?. Stop.
there has been a problem compiling Debug OF library
please report this problem in the forums

I had the same issue. After some digging, I found that the libunwind-dev package was not installed (I had libunwind-18-dev installed but it does not count -- for gstreamer we need exactly libunwind-dev package).

So sudo apt install libunwind-dev had solved my issue.

btw: if gstreamer and all its dependencies are installed then the build script will find gstreamer-app-1.0 not gstreamer-app-0.10. 0.10 is a fallback in case of missing pkg-config package for gstreamer.

@ofTheo
Copy link
Member

ofTheo commented Mar 6, 2025

@valexey @sloev - thanks for reporting this.
I'll work on getting a fix in for newer ubuntu that doesn't break older installs.

ofTheo added a commit to ofTheo/openFrameworks that referenced this issue Mar 7, 2025
@ofTheo
Copy link
Member

ofTheo commented Mar 7, 2025

I hope this fixes the issue for you @sloev

I changed the install_dependencies script to upgrade libunwind-dev if it's found to latest and if not install libunwind-dev - hopefully that will cover everything.

fyi we're using 24.04 on the CI server, but we had the libunwind-dev fix in the CI script and not in the main install_dependencies so hoping that all works now.

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

Successfully merging a pull request may close this issue.

4 participants