Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1st3VP-00DBU8-Qv for pgsql-general@arkaria.postgresql.org; Tue, 24 Sep 2024 11:14:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1st3VP-006ZMk-3u for pgsql-general@arkaria.postgresql.org; Tue, 24 Sep 2024 11:14:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1st3VO-006ZMc-Kb for pgsql-general@lists.postgresql.org; Tue, 24 Sep 2024 11:14:54 +0000 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1st3VL-000nUC-Vr for pgsql-general@lists.postgresql.org; Tue, 24 Sep 2024 11:14:53 +0000 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2f759688444so44478461fa.1 for ; Tue, 24 Sep 2024 04:14:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727176489; x=1727781289; darn=lists.postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=L7Gezz/t2L8b13WRui0Yy56u8R+pz5wK9npCkC/S41k=; b=KtuMIMB0bibTtOHed8hymVJ06bHem0fp/ne2ouDiBsYvcGlVch9DIyO+6ve19pZdW4 tZGK9Gg5B4OMVNMDE7YQgS9UXwTRFCCpuiPRJVJOsEslQVohWHLFNDUJnDLHUkFc4f/x TbfO97qKjtKNR8pMztV5cDrXXt5THBWmWPXFT+l2tbJiUkySWaidMMmCUpvW8HhE8GH0 3fhS0DFzrGXuUGGosbbv3FPuwbhe3KrFSABzFKXPJMhW1R/1ULAgVuZd85VAPgO5YHRs OBDXB2YvW9kpIYRoD9nYHufzXmVkRTgFS4XgvZKz/5I1YFw/fb3l09TJAJaspzEouLAv nztg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727176489; x=1727781289; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=L7Gezz/t2L8b13WRui0Yy56u8R+pz5wK9npCkC/S41k=; b=dfC540J5zjJrMqUKKQtB5/Jh8umDmGbY3pjtkOYF4j27pgT8Aqx40n51SRHVYkjEtr MyvUeT6Ue8S8v3/fvvrWmzTDmwAWr8C5PioPkvBn8z4L21vNSg+Xg5mYF2sAIdJqH0Md 7MWyd/z7p34e/M3YZgwpIde5FAOjVCVhAVwIAzoa+BfnwNHKQfTTz/xB9Yh/FGZlIQAO jxfXFRmj/dCBu/IRtSgIG2oRA9XCtjykDgn0Ps2Y7OmoBieBvPqOR2rdZ7IunZmUGIrp /DyiVzVP66eQhcCqJuty+xeGpOYgwIJa8bJ7nrDfRjqyjAfY2z2Hzy/aznDCn+lz2g6g cQMw== X-Gm-Message-State: AOJu0YzGo2VeZY0dI4CCy08I40VQJs4mCscUikvADFrI8u4ZZ607GlXz XOEZTvAuQMrekvbQvIsPWOlJUcOD0IOGS1wTGKccicvZQI5ViUWGz9yEMTTuB3kUccKD/NOGqA9 1o/pHt3fjR6m/4nh5GsOiXEpS1H9m+g06v54= X-Google-Smtp-Source: AGHT+IHdZGWHoa/GoJwxqCwKK2Z56Y54TbrzXg/RPdIQLlRwtT6HeurxcfgRtFG8GfYgy2c5vNox+2SAWBzJDeXhkXc= X-Received: by 2002:a2e:beac:0:b0:2ee:8453:5164 with SMTP id 38308e7fff4ca-2f7cb214613mr83382801fa.0.1727176489195; Tue, 24 Sep 2024 04:14:49 -0700 (PDT) MIME-Version: 1.0 From: Ayush Vatsa Date: Tue, 24 Sep 2024 16:44:38 +0530 Message-ID: Subject: Issues with PostgreSQL Source Code Installation To: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000001a61c90622db9d87" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000001a61c90622db9d87 Content-Type: text/plain; charset="UTF-8" Hi PostgreSQL Community, I am encountering an issue while trying to install PostgreSQL from its source code and would appreciate any guidance you can provide. Here are the steps I've taken so far: sudo yum install libicu-devel git clone git://git.postgresql.org/git/postgresql.git ./configure --enable-tap-tests --prefix=`pwd`/build make world-bin However, during the make world-bin process, I am encountering the following errors: /usr/bin/ld: commands/collationcmds.o: in function `pg_import_system_collations': collationcmds.c:(.text+0xeed): undefined reference to `uloc_countAvailable_73' /usr/bin/ld: collationcmds.c:(.text+0xf0a): undefined reference to `uloc_getAvailable_73' /usr/bin/ld: collationcmds.c:(.text+0xfc6): undefined reference to `uloc_getDisplayName_73' /usr/bin/ld: regex/regcomp.o: in function `pg_wc_isalpha': regcomp.c:(.text+0xe41): undefined reference to `u_isalpha_73' /usr/bin/ld: regex/regcomp.o: in function `pg_wc_isspace': regcomp.c:(.text+0xef1): undefined reference to `u_isspace_73' /usr/bin/ld: regex/regcomp.o: in function `pg_wc_isdigit': regcomp.c:(.text+0x1031): undefined reference to `u_isdigit_73' /usr/bin/ld: regex/regcomp.o: in function `pg_wc_isalnum': regcomp.c:(.text+0x10e1): undefined reference to `u_isalnum_73' /usr/bin/ld: regex/regcomp.o: in function `pg_wc_isgraph': regcomp.c:(.text+0x1c81): undefined reference to `u_isgraph_73' /usr/bin/ld: regex/regcomp.o: in function `pg_wc_isupper': regcomp.c:(.text+0x1d31): undefined reference to `u_isupper_73' /usr/bin/ld: regex/regcomp.o: in function `pg_wc_islower': I have ICU version 73.1 installed, which I confirmed with: icu-config --version My ~/.zshrc file looks like: export LDFLAGS="-L/usr/lib64 -L/usr/local/lib" export CPPFLAGS="-I/usr/include" export PATH="/usr/lib64/icu:$PATH" export PKG_CONFIG_PATH="/usr/lib64/pkgconfig/:/usr/local/lib/pkgconfig" export LD_LIBRARY_PATH="/usr/lib64:/usr/local/lib:$LD_LIBRARY_PATH" Output for: sudo find / -name libicui18n.so /usr/lib64/libicui18n.so I am using: Linux kernel version: 6.1.106-116.188.amzn2023.x86_64 Architecture: x86_64 Regards Ayush --0000000000001a61c90622db9d87 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi=C2=A0PostgreSQL Community,

I am encountering= an issue while trying to install PostgreSQL from its source code and would= appreciate any guidance you can provide.=C2=A0
Here are the steps I'= ;ve taken so far:
sudo yum install libicu-devel
git clone git://git.postgresql.org/git/= postgresql.git
./configure --enable-tap-tests --prefix=3D`pwd`/build=
make world-bin

However, during the make world-bin process, I= am encountering the following errors:

/usr/bin/ld: commands/collatio= ncmds.o: in function `pg_import_system_collations':
collationcmds.c:= (.text+0xeed): undefined reference to `uloc_countAvailable_73'
/usr/= bin/ld: collationcmds.c:(.text+0xf0a): undefined reference to `uloc_getAvai= lable_73'
/usr/bin/ld: collationcmds.c:(.text+0xfc6): undefined refe= rence to `uloc_getDisplayName_73'
/usr/bin/ld: regex/regcomp.o: in f= unction `pg_wc_isalpha':
regcomp.c:(.text+0xe41): undefined referenc= e to `u_isalpha_73'
/usr/bin/ld: regex/regcomp.o: in function `pg_wc= _isspace':
regcomp.c:(.text+0xef1): undefined reference to `u_isspac= e_73'
/usr/bin/ld: regex/regcomp.o: in function `pg_wc_isdigit':=
regcomp.c:(.text+0x1031): undefined reference to `u_isdigit_73'
= /usr/bin/ld: regex/regcomp.o: in function `pg_wc_isalnum':
regcomp.c= :(.text+0x10e1): undefined reference to `u_isalnum_73'
/usr/bin/ld: = regex/regcomp.o: in function `pg_wc_isgraph':
regcomp.c:(.text+0x1c8= 1): undefined reference to `u_isgraph_73'
/usr/bin/ld: regex/regcomp= .o: in function `pg_wc_isupper':
regcomp.c:(.text+0x1d31): undefined= reference to `u_isupper_73'
/usr/bin/ld: regex/regcomp.o: in functi= on `pg_wc_islower':

I have ICU version 73.1 installed, which I co= nfirmed with: icu-config --version

My ~/.zshrc file looks like:

export LDFLAGS=3D"-L/usr/lib64 -L/usr/local/lib"
= export CPPFLAGS=3D"-I/usr/include"
export PATH=3D"/usr/li= b64/icu:$PATH"
export PKG_CONFIG_PATH=3D"/usr/lib64/pkgconfig/= :/usr/local/lib/pkgconfig"
export LD_LIBRARY_PATH=3D"/usr/lib6= 4:/usr/local/lib:$LD_LIBRARY_PATH"

Output= for: sudo find / -name libicui18n.so=C2=A0
/usr/lib64/libicui18n= .so=

I am using:
Linux kernel ver= sion: 6.1.106-116.188.amzn2023.x86_64
Architecture: x86_64

Regard= s
Ayush
--0000000000001a61c90622db9d87--