Package Details: php72-pdo 7.2.34-20

Git Clone URL: https://aur.archlinux.org/php72.git (read-only, click to copy)
Package Base: php72
Description: pdo module for php72
Upstream URL: http://www.php.net
Keywords: 7.2 php php7
Licenses: PHP
Submitter: el_aur
Maintainer: el_aur
Last Packager: el_aur
Votes: 11
Popularity: 0.000003
First Submitted: 2019-01-31 20:58 (UTC)
Last Updated: 2024-07-25 14:08 (UTC)

Sources (23)

Pinned Comments

el_aur commented on 2022-01-27 12:11 (UTC) (edited on 2022-01-27 15:19 (UTC) by el_aur)

Read Carefully! Breaking changes in compare with native PHP package

  1. Console version /usr/bin/php72 is installed with php72-cli subpackage, php72 doesn't include it anymore!!!

  2. PEAR and PECL are available as php72-pear and php72-pecl subpackages

  3. All shared modules are respresented as stand-alone subpackages and are not included with php72 package anymore.

  4. No more extensions in php.ini itself!

Separate INI files for each extension are placed in /etc/php72/conf.d

They are loaded in correct order according to priority

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

df8oe commented on 2024-07-26 06:57 (UTC)

Now it is stepping further on but breaking at linking:

/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_cipher_iv_length':  
openssl.c:(.text+0xd3f): undefined reference to `EVP_CIPHER_iv_length'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_evp_from_zval':  
openssl.c:(.text+0x198d): undefined reference to `EVP_PKEY_id'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkey_get_details':  
openssl.c:(.text+0x49a3): undefined reference to `EVP_PKEY_bits'  
/usr/bin/ld: openssl.c:(.text+0x49e3): undefined reference to `EVP_PKEY_base_id'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_dh_compute_key':  
openssl.c:(.text+0x581f): undefined reference to `EVP_PKEY_base_id'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_private_encrypt':  
openssl.c:(.text+0x6f09): undefined reference to `EVP_PKEY_size'  
/usr/bin/ld: openssl.c:(.text+0x6f3f): undefined reference to `EVP_PKEY_id'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_private_decrypt':  
openssl.c:(.text+0x70e9): undefined reference to `EVP_PKEY_size'  
/usr/bin/ld: openssl.c:(.text+0x7101): undefined reference to `EVP_PKEY_id'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_public_encrypt':  
openssl.c:(.text+0x72c7): undefined reference to `EVP_PKEY_size'  
/usr/bin/ld: openssl.c:(.text+0x72fd): undefined reference to `EVP_PKEY_id'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_public_decrypt':  
openssl.c:(.text+0x74e7): undefined reference to `EVP_PKEY_size'  
/usr/bin/ld: openssl.c:(.text+0x74ff): undefined reference to `EVP_PKEY_id'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_sign':  
openssl.c:(.text+0x787f): undefined reference to `EVP_PKEY_size'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_seal':  
openssl.c:(.text+0x7c7e): undefined reference to `EVP_CIPHER_iv_length'  
/usr/bin/ld: openssl.c:(.text+0x7d96): undefined reference to `EVP_PKEY_size'  
/usr/bin/ld: openssl.c:(.text+0x7ed5): undefined reference to `EVP_CIPHER_CTX_block_size'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_open':  
openssl.c:(.text+0x830a): undefined reference to `EVP_CIPHER_iv_length'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_digest':  
openssl.c:(.text+0x8596): undefined reference to `EVP_MD_size'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_cipher_init.constprop.0':  
openssl.c:(.text+0x891b): undefined reference to `EVP_CIPHER_iv_length'  
/usr/bin/ld: openssl.c:(.text+0x89b5): undefined reference to `EVP_CIPHER_key_length'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_cipher_update.isra.0':  
openssl.c:(.text+0x9229): undefined reference to `EVP_CIPHER_block_size'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_decrypt':  
openssl.c:(.text+0x94f8): undefined reference to `EVP_CIPHER_flags'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_encrypt':  
openssl.c:(.text+0x995e): undefined reference to `EVP_CIPHER_flags'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkey_export_to_file':  
openssl.c:(.text+0xcb8a): undefined reference to `EVP_PKEY_base_id'  
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkey_export':  
openssl.c:(.text+0xce1c): undefined reference to `EVP_PKEY_base_id'  
/usr/bin/ld: ext/openssl/.libs/xp_ssl.o: in function `php_openssl_sockop_set_option':  
xp_ssl.c:(.text+0x340a): undefined reference to `SSL_get_peer_certificate'  
/usr/bin/ld: xp_ssl.c:(.text+0x387a): undefined reference to `SSL_get_peer_certificate'  
collect2: error: ld returned 1 exit status  
make: *** [Makefile:378: sapi/cli/php] Fehler 1  
==> FEHLER: Ein Fehler geschah in build().  
    Breche ab...  
 -> Fehler beim Erstellen: php72-exit status 4

continum4 commented on 2024-07-25 18:53 (UTC) (edited on 2024-07-25 18:54 (UTC) by continum4)

I am getting the following error, maybe it is openssl. ...


/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_digest':
/usr/src/debug/php72/php-7.2.34/ext/openssl/openssl.c:6325:(.text+0x8596): undefined reference to `EVP_MD_size'
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_cipher_init':
/usr/src/debug/php72/php-7.2.34/ext/openssl/openssl.c:6455:(.text+0x891b): undefined reference to `EVP_CIPHER_iv_length'
/usr/bin/ld: /usr/src/debug/php72/php-7.2.34/ext/openssl/openssl.c:6483:(.text+0x89b5): undefined reference to `EVP_CIPHER_key_length'
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_cipher_update':
/usr/src/debug/php72/php-7.2.34/ext/openssl/openssl.c:6534:(.text+0x9229): undefined reference to `EVP_CIPHER_block_size'
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_load_cipher_mode':
/usr/src/debug/php72/php-7.2.34/ext/openssl/openssl.c:6366:(.text+0x94f8): undefined reference to `EVP_CIPHER_flags'
/usr/bin/ld: /usr/src/debug/php72/php-7.2.34/ext/openssl/openssl.c:6366:(.text+0x995e): undefined reference to `EVP_CIPHER_flags'
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkey_export_to_file':
/usr/src/debug/php72/php-7.2.34/ext/openssl/openssl.c:4556:(.text+0xcb8a): undefined reference to `EVP_PKEY_base_id'
/usr/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkey_export':
/usr/src/debug/php72/php-7.2.34/ext/openssl/openssl.c:4633:(.text+0xce1c): undefined reference to `EVP_PKEY_base_id'
/usr/bin/ld: ext/openssl/.libs/xp_ssl.o: in function `php_openssl_enable_crypto':
/usr/src/debug/php72/php-7.2.34/ext/openssl/xp_ssl.c:1952:(.text+0x340a): undefined reference to `SSL_get_peer_certificate'
/usr/bin/ld: /usr/src/debug/php72/php-7.2.34/ext/openssl/xp_ssl.c:1918:(.text+0x387a): undefined reference to `SSL_get_peer_certificate'
collect2: error: ld returned 1 exit status
make: *** [Makefile:378: sapi/cli/php] Error 1
==> ERROR: Se produjo un fallo en build().
    Cancelando...

el_aur commented on 2024-07-24 21:08 (UTC)

@df8oe try now to build

df8oe commented on 2024-07-24 05:06 (UTC)

no solution for this issue yet?

Zerebratox commented on 2024-07-16 09:17 (UTC)

I have the same issue as @bastiendurel and @df8oe

df8oe commented on 2024-07-15 04:57 (UTC)

Same issue as @bastiendurel

bastiendurel commented on 2024-07-12 08:20 (UTC)

Hello,

There's a problem with readdir in the last version :

/tmp/tmp.qNyTZarEwn/php72/src/php-7.2.34/main/reentrancy.c: In function ‘php_readdir_r’:
/tmp/tmp.qNyTZarEwn/php72/src/php-7.2.34/main/reentrancy.c:139:9: warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations]
  139 |         readdir_r(dirp, entry);
      |         ^~~~~~~~~
In file included from /tmp/tmp.qNyTZarEwn/php72/src/php-7.2.34/Zend/zend_virtual_cwd.h:78,
                 from /tmp/tmp.qNyTZarEwn/php72/src/php-7.2.34/main/php.h:470,
                 from /tmp/tmp.qNyTZarEwn/php72/src/php-7.2.34/main/php_reentrancy.h:24,
                 from /tmp/tmp.qNyTZarEwn/php72/src/php-7.2.34/main/reentrancy.c:28:
/usr/include/dirent.h:185:12: note: declared here
  185 | extern int readdir_r (DIR *__restrict __dirp,
      |            ^~~~~~~~~
/tmp/tmp.qNyTZarEwn/php72/src/php-7.2.34/main/reentrancy.c:139:9: error: too few arguments to function ‘readdir_r’
  139 |         readdir_r(dirp, entry);
      |         ^~~~~~~~~
/usr/include/dirent.h:185:12: note: declared here
  185 | extern int readdir_r (DIR *__restrict __dirp,
      |            ^~~~~~~~~
make: *** [Makefile:2427: main/reentrancy.lo] Error 1

kasugano commented on 2024-06-08 00:59 (UTC)

@Zeph Much appreciated, helped with both "php56" and "php74".

Zeph commented on 2024-05-30 20:39 (UTC)

@continum4 add -fpermissive flags in build function of PKGBUILD

build() {
    export CFLAGS="${CFLAGS} -fPIC"
    export CXXFLAGS="${CXXFLAGS} -fPIC"
...

to

build() {
    export CFLAGS="${CFLAGS} -fPIC -fpermissive"
    export CXXFLAGS="${CXXFLAGS} -fPIC -fpermissive"
...

continum4 commented on 2024-05-14 20:15 (UTC)

When compiling, an error occurs in libxml.c; error: argument 2 of 'xmlSetStructuredErrorFunc' is passed from an incompatible pointer type [-Wincompatible-pointer-types] 1007 | xmlSetStructuredErrorFunc(NULL, php_libxml_structured_error_handler); | ^~~~ | | | void ()(void , xmlError ) {aka void ()(void , struct _xmlError )}

The same thing happens with other versions of php: php56, php70, php71, at least those are the ones I tried to install. Any ideas about it?