Skip to content

Installing from Source CentOS 7 #5

@JPGlaser

Description

@JPGlaser

Hey All,

I was recommended to give phobos a check as I set up to do a massive reorganization of our LTO library (both physically in our mechanical library and in our filing cabinet storage.

We're currently running CentOS 7 on the machine I have our LTO Tape Library attached to, so we can't use the RPM available (as mentioned in #2 ). I'd like to get it built from source, but the documentation is a bit vague in areas.

Right now, I have run ./autogen.sh which seemed to work nicely, followed by a ./configure which produces:

[...]
checking size of size_t... 8
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB2... no
configure: error: Package requirements (glib-2.0) were not met:

No package 'glib-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLIB2_CFLAGS
and GLIB2_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

That said, the machine does have glib2 installed as well as pgsql-15 (as the distro provided pgsql is 9.2 which is under the version requirement), which is running.

I will note that the pgsql-15 library path doesn't have a pkconfig file in it, which may be a source of issue?

[root@eldin phobos]# ls /usr/pgsql-15/
bin/   lib/   share/ 
[root@eldin phobos]# ls /usr/pgsql-15/lib/
bitcode/                euc2004_sjis2004.so     latin2_and_win1250.so   libecpg.so.6            libpq.so.5.15           utf8_and_cyrillic.so    utf8_and_euc_tw.so      utf8_and_johab.so
cyrillic_and_mic.so     euc_cn_and_mic.so       latin_and_mic.so        libecpg.so.6.15         libpqwalreceiver.so     utf8_and_euc2004.so     utf8_and_gb18030.so     utf8_and_sjis2004.so
dict_int.so             euc_jp_and_sjis.so      libecpg_compat.so.3     libpgtypes.so.3         pgoutput.so             utf8_and_euc_cn.so      utf8_and_gbk.so         utf8_and_sjis.so
dict_snowball.so        euc_kr_and_mic.so       libecpg_compat.so.3.15  libpgtypes.so.3.15      plpgsql.so              utf8_and_euc_jp.so      utf8_and_iso8859_1.so   utf8_and_uhc.so
dict_xsyn.so            euc_tw_and_big5.so      libecpg.so              libpq.so.5              utf8_and_big5.so        utf8_and_euc_kr.so      utf8_and_iso8859.so     utf8_and_win.so

Any ideas?

~ Joe G.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions