Skip to content

vsgi-server-module.vala:67: libvsgi-http.so: cannot open shared object file: No such file or directory #224

@devnix

Description

@devnix

Hi! As soon as I include a gnome.compile_resources line in my meson.build, I'm getting a runtime error like the one of the title:

 ** (process:1): CRITICAL **: vsgi-server-module.vala:67: libvsgi-http.so: cannot open shared object file: No such file or director
 ** (process:1): CRITICAL **: vsgi_server_run: assertion 'self != NULL' failed

My meson.build looks like this:

project('valabb', 'c', 'vala')
gnome = import('gnome')

dependencies = [
	dependency('glib-2.0'),
	dependency('gobject-2.0'),
	dependency('gio-2.0'),
	dependency('libsoup-2.4'),
	dependency('vsgi-0.3'),
	dependency('valum-0.3'),
	dependency('template-glib-1.0'),
]

sources = files(
	'src/Application.vala',
	'src/Controller/IndexController.vala',
	'src/Controller/RegisterController.vala',
	'src/Controller/Admin/IndexController.vala',
)

sources += gnome.compile_resources(
	'template-glib-resources',
	'resources/app.gresource.xml',
	source_dir: './src'
)

vala_flags = '--gresourcesdir=' + join_paths(meson.current_source_dir(), 'resources')

executable(
	'valabb',
	sources,
	dependencies: dependencies,
	vala_args: vala_flags
)

If this is not related at all with Valum, please just let me know to open an issue somewhere else 😄

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions