An algebraic solution cannot exist; you can adjoin the eigenvalues of rational symmetric matrices to $\mathbb Q$ to obtain a field which satisfies the spectral theorem (symmetric matrices diagonalize orthogonally) but is not a real closed field.
Definition. Let $F \subseteq K$ be an extension of ordered fields. Then $\alpha \in K$ is symmetric over $F$ if $\alpha$ is an eigenvalue of a symmetric matrix with entries in $F$. $K$ is a symmetric extension of $F$ if every element of $K$ is symmetric over $F$.
Lemma. Let $A$ be an $n \times n$ symmetric matrix over an ordered field $F$, and let $p, q \in F[x]$ be coprime polynomials. Then $\ker p(A)$ and $\ker q(A)$ are orthogonal subspaces of $F^n$, and therefore intersect trivially.
Proof. Let $ap+bq=1$ and use the substitution $a(A)p(A)$ to assume WLOG that $p(x) = x$ and $q(x) = 1-x$. Then use the fact that the kernel of a symmetric matrix is orthogonal to its image.
Lemma. A symmetric matrix over an ordered field is semisimple.
Proof. Apply the spectral theorem to a real closure of the field of coefficients.
Theorem. Let $A$ be a symmetric matrix over an ordered field $F$. Then $A$ is orthogonally equivalent to a block diagonal matrix in which each block has irreducible characteristic polynomial.
Lemma Let $A, B$ be symmetric matrices over an ordered field $F$, of size $n \times n$ and $m \times m$ respectively. Then polynomials in $A \otimes I_m$ and $I_n \otimes B$ witness the fact that the symmetric elements of $K$ in an extension $F \subseteq K$ form a subfield of $K$.
Lemma Let $F \subseteq K \subseteq L$ be a chain of extensions of ordered fields. If $K/F$ is symmetric and $L/K$ is symmetric, then $L/F$ is symmetric.
Thus we can speak of a "symmetric closure" of $\mathbb Q$ in $\mathbb R$, consisting of roots of irreducible polynomials over $\mathbb Q$ which are the characteristic polynomials of rational symmetric matrices. In particular, every root of such a polynomial must be real, so $x^4-2$ does not have a root in the symmetric closure of $\mathbb Q$. Since $\sqrt[4]{2}$ must exist in a real closed field, this proves that there are fields satisfying the spectral theorem which are not real closed.
This answer suggests that it is an unsolved problem to determine which rational polynomials are the characteristic polynomial of a symmetric matrix.